N:=20;
M:=8.47;
M1:=37;
M2:=38;
A1:=BArslAST(L=LLV(L,N));
A2:IF(A1=1,L,M);
AB1:=A2+A1*M1/100;
AB:IF(CURRBARSCOUNT<M2,AB1,DRAWNULL),COLORWHITE;
AD:(AB+A2)/2,DOTLINE,COLORMAGENTA;
ac:(AB+AD)/2,DOTLINE,COLORYELLOW;
DRAWTEXT(L/AD<Abs(1) AND L/AD>ABS(0.995),L,'回调到位'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=8,AC*1.03,'第一强势区'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=16,AD*1.03,'第二强势区'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=12,AD*0.95,'弱势区,跌破AD线3个点应清仓'),COLORYELLOW;