大智慧MACD金叉死叉指标公式股票软件源码如下: DIFF : EMA(CLOSE,9) - EMA(CLOSE,26),COLOR00ffff; DEA : EMA(DIFF,9),COLORffffff; MACD : 2*(DIFF-DEA), COLORSTICK; MACD1 : 2*(DIFF-DEA), COLORred; 金叉:if(CROSS(DIFF,DEA),diff,0),color00ff00,stick,linethick3; 死叉:if(CROSS(DEA,DIFF),diff,0),colorff0099,stick,linethick3; v0:0,colorffa2af; |