DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
取值1:=MacD>=-0.05 AND MACD<=0.05;
取值2:EVERY(取值1,20);
取值3:REF(取值2,1)=1 AND 取值2=0;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
取值1:=MacD>=-0.05 AND MACD<=0.05;
取值2:EVERY(取值1,20);
取值3:REF(取值2,1)=1 AND 取值2=0;