COHL:=(C+O+H+L)/4;{算术均价}
成交均价:=AMOUNT/VOL/100;
TEST:=BETWEEN(成交均价,L,H);
CC0:=IF(TEST,成交均价,COHL);
CC:=FORCAST(CC0,5);
EMA34:EMA(CC,34),COLORFFCC66;
EMA21:EMA(CC,21),COLORGREEN;
EMA13:EMA(CC,13),COLORBROWN;
EMA5:EMA(EMA(CC,5),2),COLORYELLOW;
TJ:= {C O AND} ABS(EMA13-EMA5) EMA5*0.01
AND ABS(EMA13-EMA21) EMA21*0.01
AND ABS(EMA34-EMA21) EMA21*0.01
AND EMA5 REF(EMA5,1) AND EMA13 REF(EMA13,1)
AND EMA21 REF(EMA21,1) AND EMA34 REF(EMA34,1);
启动点:=FILTER(TJ,5);
DRAWTEXT(启动点,L*0.95,'启动点'),COLORMAGENTA;