上轨:EMA(H,55),COLORGREEN;
下轨:EMA(L,55),COLORGREEN;
NOTEXT_A111:=PLOYLINE(C>上轨,上轨);
NOTEXT_A222:IF(C>上轨,NOTEXT_A111,DRAWNULL),COLORRED;
NOTEXT_B111:=PLOYLINE(C>下轨,下轨);
NOTEXT_B222:IF(C>下轨,NOTEXT_B111,DRAWNULL),COLORRED;
DRAWICON(crOSS(100,"kdj.J"(9,3,3)),H*1.02,4);{哭脸}
DRAWICON(CROSS("kdJ.J"(9,3,3),0),L*0.997,3);{笑脸}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
boll:=MA(CLOSE,31),COLORBROWN;
UB:BOLL+2*STD(CLOSE,31),COLORYELLOW;
LB:BOLL-2*STD(CLOSE,31),COLORMAGENTA;