OBV高低點(diǎn)變色副圖指標(biāo)分享 不同周期需修改不同參數(shù)

N3:=31;
VA:=IF(CLOSE>REF(CLOSE,1),VOL/1000,-VOL/1000);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)/10000,COLORYELLOW,LINETHICK2;
MAOBV:SMA(OBV,N3,1);
HH:HHV(OBV,31);
LL:LLV(OBV,31);
MID:(HH+LL)/2;
FILLRGN(OBV>MAOBV,OBV,MAOBV,COLORRED);
FILLRGN(OBV<MAOBV,MAOBV,OBV,COLORGREEN);
標(biāo)簽: