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

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;

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

 

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu