当日MACD金叉家数公式。显示在主图上
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

请老师编一个当日MACD金叉家数公式。显示在主图上.谢谢!


DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
金叉:cross(DIFF,DEA);
 


解答如下:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
M金叉:=CROSS(DIFF,DEA);
DRAWTEXT(M金叉,L*0.98,'M金叉'),COLORYELLOW;
 

 


选股票看什么指标最好 >股票指标网