DIFF:=EMA(CLOSE,10)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
抄底:=ABS((CROSS("MACD.DIF","macd.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF");
买点出击:CROSS(DIFF,DEA) AND DIFF<-0.1 AND 抄底>0 AND DYNAINFO(4)>0;
九毛八公式解读
DIFF赋值:收盘价的10日指数移动平均-收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 抄底赋值:("平滑异同平均的DIF"上穿"平滑异同平均的DEA"并且"平滑异同平均的DEA"<=-0.07)*"平滑异同平均的DIF"的绝对值 输出买点出击:DIFF上穿DEA AND DIFF<-0.1 AND 抄底>0 AND 开盘价>0