同花顺指标macd指标0轴上粘合DIFF与DEA差小于0.1选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

请老师帮忙写一个同花顺:macd指标0轴上粘合大于5天,DIFF与DEA差小于0.1的选股公式,谢谢
 
解答如下:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
XG:COUNT(DEA>0 AND DIFF>0 AND MAX(DIFF,DEA)/MIN(DIFF,DEA)<1.15,5)=5;
===============
{下面这个按照你的要求写的}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
XG:COUNT(DEA>0 AND DIFF>0 AND (DIFF-DEA)<0.1,5)=5;

 


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