布极通道 布林六式极反通道
看图操作,对波段的顶点、低点等有指导意义。
上1:SMA(C,20,1)+6.18*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),colormagenta;
上2:SMA(C,20,1)+3.82*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),colorgreen;
下1:SMA(C,20,1)-3.82*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),coloryellow;
下2:SMA(C,20,1)-6.18*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),colormagenta;
生命线:SMA(C,20,1),colorwhite;
DRAWKLINE(H,O,L,C),LINETHICK2;
MID : MA(CLOSE,20);
U: MID + 2*STD(CLOSE,20);
L: MID - 2*STD(CLOSE,20);
人:MA(CLOSE,3);
天:MA(CLOSE,5);
地1:MA(CLOSE,13);
地2:MA(CLOSE,15);
长:MA(CLOSE,90);
年:MA(CLOSE,250);
VAR1:=HIGH<REF(LOW,1);
DRAWTEXT(VAR1=1,H*1.01,'←↓');
VAR2:=LOW>REF(HIGH,1);
DRAWTEXT(VAR2=1,L*0.99,'←↑');
ZDF:=(C-REF(C,1))/REF(C,1)*100 ;
STICKLINE(ZDF>9.8,O,C,8,0),colorred;
STICKLINE(ZDF<-9.8,O,C,8,0),colorblue;
STZDF:=(C-REF(C,1))/REF(C,1)*100 ;
STICKLINE(STZDF>4.8 AND STRFIND(STKNAME,'S',1)>0,O,C,8,0),coloryellow;