DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DEA>DIF AND DIF>0.3 OR DIF>-0.3;
{按你要求编写,参数缺损为正负0.3}
---------------------------------------------------------------------------------
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DEA>DIF AND DIF>N OR DIF>-N;
{参数,N最小-10,最大10,缺省在最小到最大之间自己调整}
{如果回答满意,请记得给采纳}
N:=0.3;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
CC:=BETWEEN(DIF,0,DIF+N) OR BETWEEN(DIF,0,0-N);
买入:DIF
n 0 1 0.3
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
XG:abs(dif)<=N and dif