DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DAT:=30;
Z:=BARSLASTCOUNT(MACD>0);
MACD1:=SUM(Z,DAT);
BUYHAOGU:MACD1>0 AND REF(MACD1=0,1);
版权声明:文章来自网络!方法技巧仅供参考!拾荒网10Huang.CN,财富在手十指紧握!与努力的人共勉!
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DAT:=30;
Z:=BARSLASTCOUNT(MACD>0);
MACD1:=SUM(Z,DAT);
BUYHAOGU:MACD1>0 AND REF(MACD1=0,1);