通达信MACD零上金叉买进
源码
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
通达信MACD零上金叉买进
源码
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