通达信OBV黄线30度上升副图/选股预警指标 源码
M:=30;
VA:=IF(CLOSE REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,M);
A1:=OBV MAOBV;
A2:=ATAN((MAOBV/REF(MAOBV,1)-1)*100)*180/3.1416;
A3:=A2
A4:=LAST(A3,20,0);
A5:=(HHV(H,20)-LLV(L,20))/LLV(L,20)*100
XG:A4 AND A5 ;