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),COLORCYAN;
EMA13:EMA(CC,13),COLORGRAY;
EMA5:EMA(EMA(CC,5),2),COLORBLUE;
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,'启动点'),COLORLIMAGENTA;