通达信MACD二次金叉选股指标(源码)
2015-08-06 08:52:00来源:本站整理浏览:311
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
- 上一篇公式:通达信MACD斐波那契周期指标(源码)
- 下一篇公式:通达信煎饼侠选股指标(源码)