编写要求:
DIF>EDA即开口向上,并且在0轴以上运行的选股公式
www.gszx.com.cn网解答:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; MACD零轴上金叉:DIF>=0 AND CROSS(DIF,DEA) AND DIF#WEEK>=0;