大智慧的MACD顶背离的程序
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师贴一个大智慧的MACD顶背离的程序。 谢谢!

解答:

 DIFF:=EMA(C,12)-EMA(C,26);

DEA:=EMA(DIFF,9);
A1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:REF(C,A1+1)<C AND DIFF<REF(DIFF,A1+1) AND CROSS(DEA,DIFF);

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