通达信博尔主导动能指标(源码)

2014-10-28 20:52:00来源:本站整理浏览:3336

TT:=(2*CLOSE+OPEN+HIGH+LOW);
主导动能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主导动能;
{黄色:获利回吐}
STICKLINE(FF>0,0,FF,8,0),COLOR33CFDD;
{红色:做多主导}
STICKLINE(FF>0 AND FF>REF(FF,1),0,FF,8,0),COLOR0000CC;
{绿色:做空主导}
STICKLINE(FF<=0,0,FF,8,0),COLOR00CC00;
{蓝色:空头回补}
STICKLINE(FF<=0 AND FF>REF(FF,1),0,FF,8,0),COLORFF9900;
做多主导:IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC;
获利回吐:IFF(FF>0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR33CFDD;
做空主导:IFF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR00CC00;
空头回补:IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF9900;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式