通达信OBV14指标公式
2021/1/15 18:55:58
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA/25000),0);
HOBV:REF(HHV(OBV,20),1),DOTLINE,COLORFF33FF;
LOBV:REF(LLV(OBV,20),1),DOTLINE,COLORFF33FF;
MOBV:(HOBV+LOBV)/2,COLORYELLOW,DOTLINE;
A0:=OBV;
OBV14:EMA(A0,14),COLORGREEN,LINETHICK2;
A1:=(OBV14-REF(OBV14,1))/REF(OBV14,1)*100;
G1:=BARSLAST(CROSS(A1,0));
NOTEXT强:IF(A1>=0,OBV14,DRAWNULL),COLORRED,LINETHICK2;
买入止损:=REF(A0,G1);
上行:IF(A1>=0,买入止损,DRAWNULL),COLORRED,LINETHICK2;
投 股票网 www .tou18.cn
股市公式下载推荐