AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3);
BB:=(AA-REF(AA,1))*10;
CC:=IF(BB>REF(BB,1),BB,REF(BB,1));
加仓:CC=BB AND REF(CC,1)>REF(BB,1) AND BB>0;
AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3);
BB:=(AA-REF(AA,1))*10;
CC:=IF(BB>REF(BB,1),BB,REF(BB,1));
加仓:CC=BB AND REF(CC,1)>REF(BB,1) AND BB>0;