分时OBV指标 (源码)

2012-11-04 08:53:00来源:本站整理浏览:635

M:=180;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORMAGENTA,LINETHICK2;
MAOBV:MA(OBV,M),COLORRED,LINETHICK2;
IF(OBV<=REF(OBV,1),OBV,DRAWNULL),COLORCYAN,LINETHICK2;
IF(MAOBV<=REF(MAOBV,1),MAOBV,DRAWNULL),COLORGREEN,LINETHICK2;
D1:=COUNT(CROSS(OBV,MAOBV),1)=1;
DRAWICON(D1,OBV-0,1);{OBV显示1号图标};
{分时突破:=C/REF(C,1)>1.02 AND V*240/FROMOPEN/REF(MA(V,1),1)>=2 AND C=H AND REF(C,1)/L<1.015 AND C/REF(C,1)<1.07;
DRAWICON(分时突破,OBV-0,25);{OBV显示25号图标};
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.08,1,1,HYBLOCK),COLORYELLOW;
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.10,1,0,DYBLOCK),COLORYELLOW;

通达信分时OBV指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式