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

通达信近期买卖主图指标公式

通达信分钟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;

通达信双周期精进主图指标公式