COHL:=(C+O+H+L)/4;
成交均价:=AMOUNT/vol/100;
TEST:=BETWEEN(成交均价,L,H);
CC0:=IF(TEST,成交均价,COHL),COLORWHITE;
CC:=FORCAST(CC0,5),COLORWHITE;
EMA34:=EMA(CC,34),COLORFFCC66;
EMA21:=EMA(CC,21),COLORGREEN;
EMA13:=EMA(CC,13),COLORBROWN;
EMA5:=EMA(EMA(CC,5),2),COLORYELLOW;
TJ:= 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);
启动:启动点;