以下是通达信OBV黄线30度上升副图/选股预警指标 源码(无源码的请下载附件导入)
通达信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>30;
A4:=LAST(A3,20,0);
A5:=(HHV(H,20)-LLV(L,20))/LLV(L,20)*100<30;
XG:A4 AND A5 ;
1235244661.png
|