MACD大底背离选股指标 (源码)
2012-04-11 08:13:00来源:本站整理浏览:474
通达信MACD大底背离选股指标公式股票软件源码如下:
DIFF:=EMA(DCLOSE,25)-EMA(DCLOSE,65);
DEA:=EMA(DIFF,45);
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离8:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DRAWICON(底背离8,35,1);
- 上一篇公式:想被套都难指标 (源码)
- 下一篇公式:赢利模式指标 (源码)