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);

通达信MACD大底背离选股指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式