通达信分钟OBV分时指标公式

[复制链接]
查看162 | 回复0 | 2021-8-20 20:27:04 | 显示全部楼层 |阅读模式

M:=5;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,M);
分时:DRAWTEXT({((COUNT(EVERY(OBV<MAOBV AND MAOBV<REF(MAOBV,1) AND MAOBV<0,30)
OR EVERY(OBV>MAOBV AND MAOBV>0,5),10)
AND OBV>MAOBV AND MAOBV>REF(MAOBV,1) AND OBV>REF(HHV(OBV,30),1)))
OR }
((REF(OBV<-1000 AND MAOBV<-1000 AND MAOBV<REF(MAOBV,1),1) AND CROSS(OBV,MAOBV))
OR (REF(EVERY(OBV<-10000 AND MAOBV<-10000 AND MAOBV>REF(MAOBV,1),10),1)
AND CROSS(OBV,REF(HHV(OBV,10),1)))) AND C/REF(C,1)>1.002{ AND COUNT(C>O,10)>4},OBV,'FS'),COLORYELLOW;

202108201304.jpg

202108201304.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则