N:=21;
UB:+2*STD(CLOSE,N),COLORGREEN,LINETHICK2;
BOLL:MA(CLOSE,N),COLORRED,LINETHICK2;
DRAWICON(CROSS(CLOSE,UB),BOLL,5);
LB:BOLL-2*STD(CLOSE,N),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(ISLASTBAR,0,1,0,EXTERNSTR(0,1)),COLORCYAN;
HJ_1:=CROSS(CLOSE,UB) OR CLOSE
DRAWICON(HJ_1,BOLL,5);
XA_8:=CLOSE*;
XA_9:=EMA((EXPMA(XA_8,3)/EXPMA(VOL,3)+EXPMA(XA_8,6)/EXPMA(VOL,6)+EXPMA(XA_8,12)/EXPMA(VOL,12)+EXPMA(XA_8,24)/EXPMA(VOL,24))/4,13);
顶:1.13*XA_9,COLORMAGENTA,LINETHICK2;