通达信三色成交量副图指标

2016-07-08 11:14:00来源:本站整理浏览:399

{三色成交量幅图}

QB:=(H-L);
 SY:=(H-MAX(C,O))/QB*100/100;
 ST:=(MAX(C,O)-MIN(C,O))/QB*100/100;
 XY:=(MIN(C,O)-L)/QB*100/100;
 STICKLINE((C>O OR (C=O AND C>=REF(C,1))) AND L!=O,0,VOL*XY,2,0),COLORYELLOW;
 STICKLINE(C>O OR (C=O AND C>=REF(C,1)),VOL*XY,VOL*XY+VOL*ST,2,0),COLORRED;
 STICKLINE((C>O OR (C=O AND C>=REF(C,1))) AND H!=C,VOL*ST+VOL*XY,VOL,2,0),COLORGREEN;
 STICKLINE((C<O OR (C=O AND C<REF(C,1))) AND L!=C,0,VOL*XY,2,0),COLORYELLOW;
 STICKLINE(C<O OR (C=O AND C<REF(C,1)),VOL*XY,VOL*XY+VOL*ST,2,0),COLORCYAN;
 STICKLINE((C<O OR (C=O AND C<REF(C,1))) AND H!=O,VOL*ST+VOL*XY,VOL,2,0),COLORGREEN;


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式