九毛八公式指标
公式模块:
请老师帮忙写一个同花顺: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;