九毛八公式指标
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); MAOBV:MA(OBV,30); 底背离:=((LLV(LOW,20) = LOW) AND NOT((LLV(OBV,20) = OBV))); DRAWTEXT(底背离,OBV,'底背离'); 效果如123
公式模块:
va:=if(close>ref(close,1),vol,-VOL);
obv:=sum(if(close=ref(close,1),0,va),0); maobv:=ma(obv,30); 底背离:=((llv(low,20) = low) and not((llv(obv,20) = obv))); drawtext(底背离,l,'底背离'),colorb0f200;