N:=120;
TA:=maX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=ema(TA,181);
VAR81:=REF(CLOSE,N)-REF(ATR,1);
红牛:=HHV(VAR81,181),COLORBLUE;
上:=(1+7/100)*红牛;
下:=(1-7/100)*红牛;
中:=(上+下)/2;
DRAWBAND(上,RGB(136,30,0),下,RGB(0,0,0));
A1:上,DOTLINE,COLORCYAN;
B1:下,DOTLINE,COLORCYAN;
C1:中,LINETHICK2,COLORBLUE;
DRAWKLINE(H,O,L,C);
黑马:=crOSS(C,上);
DRAWTEXT(黑马,L,'↖进入强势区'),COLORBLUE,LINETHICK4;