同花顺OBV量能梯公式
源码
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,M);
月:HHV(OBV,OOO);
半年:HHV(OBV,BBB);
三年:HHV(OBV,VVV);
DRAWICON(CROSS(OBV,MAOBV),OBV,1);
DRAWICON(CROSS(MAOBV,OBV),MAOBV,2);
斜角:ATAN((MAOBV/REF(MAOBV,1)-1)*100)*180/3.14;
DRAWTEXT(斜角>1,MAOBV, '∠');