通达信 贴图 让BOLL布林开口缩口更直观 BOLL布林是个很好的波段指标,但每次看关于该指标的文章时总是无法理解开口、缩口的现象。
今天突发奇想,发现改变下思路就能直观看到BOLL布林在波段不同阶段的开口、缩口情况。希望能给理想论友带来启发进而得出好的炒股思路。由于没有通达信M-BOLL指标的源码,现在以通达信自带指标多空布林为例。
CV:=CLOSE;
BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR1:BBIBOLL+STD(BBIBOLL,11);
UPR2:BBIBOLL+2*STD(BBIBOLL,11);
UPR3:BBIBOLL+3*STD(BBIBOLL,11);
UPR4:BBIBOLL+4*STD(BBIBOLL,11);
UPR5:BBIBOLL+5*STD(BBIBOLL,11);
UPR6:BBIBOLL+6*STD(BBIBOLL,11);
UPR7:BBIBOLL+7*STD(BBIBOLL,11);
UPR8:BBIBOLL+8*STD(BBIBOLL,11);
UPR9:BBIBOLL+9*STD(BBIBOLL,11);
DWN1:BBIBOLL-1*STD(BBIBOLL,11);
DWN2:BBIBOLL-2*STD(BBIBOLL,11);
DWN3:BBIBOLL-3*STD(BBIBOLL,11);
DWN4:BBIBOLL-4*STD(BBIBOLL,11);
DWN5:BBIBOLL-5*STD(BBIBOLL,11);
DWN6:BBIBOLL-6*STD(BBIBOLL,11);
DWN7:BBIBOLL-7*STD(BBIBOLL,11);
DWN8:BBIBOLL-8*STD(BBIBOLL,11);
DWN9:BBIBOLL-9*STD(BBIBOLL,11);