通达信OBV量能副图指标 源码 贴图
2025-01-07 10:01:00来源:本站整理浏览:420
通达信OBV量能副图指标 源码 贴图
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VAR1),0);
VAR2:=OBV-MA(OBV,30);
VAR3:=FILTER(REF(OBV,5)=HHV(OBV,2*5+1),5);
VAR4:=FILTER(REF(C,5)=HHV(C,2*5+1),5);
VAR5:=REF(OBV,BARSLAST(FILTER(BACKSET(VAR3,5+1),5)));
STICKLINE(VAR2>0,0,VAR2,1,0),COLORRED;
STICKLINE(VAR2<0,0,VAR2,1,0),COLORCYAN;
MAOBV:MA(OBV,30);{公式网WWW.GPXIAZAI.COM}
C高:REF(C,BARSLAST(FILTER(BACKSET(VAR4,5+1),5))),NODRAW;
量入为主:CROSS(OBV,VAR5) AND H<C高,NODRAW;
STICKLINE(量入为主,0,VAR2,1,0),COLORYELLOW;
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VAR1),0);
VAR2:=OBV-MA(OBV,30);
VAR3:=FILTER(REF(OBV,5)=HHV(OBV,2*5+1),5);
VAR4:=FILTER(REF(C,5)=HHV(C,2*5+1),5);
VAR5:=REF(OBV,BARSLAST(FILTER(BACKSET(VAR3,5+1),5)));
STICKLINE(VAR2>0,0,VAR2,1,0),COLORRED;
STICKLINE(VAR2<0,0,VAR2,1,0),COLORCYAN;
MAOBV:MA(OBV,30);{公式网WWW.GPXIAZAI.COM}
C高:REF(C,BARSLAST(FILTER(BACKSET(VAR4,5+1),5))),NODRAW;
量入为主:CROSS(OBV,VAR5) AND H<C高,NODRAW;
STICKLINE(量入为主,0,VAR2,1,0),COLORYELLOW;
- 上一篇公式:通达信王者风云副图指标 源码 贴图
- 下一篇公式:通达信涨停跳空拉升主图指标 源码 贴图