通达信极品OBV指标公式
2021/4/8 18:29:26
M:=30;
N:=10;
XA_1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
XA_2:=SUM(IF(CLOSE=REF(CLOSE,1),0,XA_1),0);
XA_3:=MA(OBV,M);
DRAWBAND(XA_3,RGB(0,0,80),XA_2,RGB(160,0,0));
XA_4:=REF(XA_2,N)=HHV(XA_2,2*N+1);
XA_5:=FILTER(XA_4,N);
XA_6:=BACKSET(XA_5,N+1);
XA_7:=FILTER(XA_6,N);
T线:REF(OBV,BARSLAST(XA_7)),NODRAW,COLORMAGENTA;
STICKLINE(CLOSE>0,T线,T线,6,0),COLORFF6600;
DRAWICON(CROSS(OBV,T线),T线*0.99,1);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,XA_1),0);
MA30:MA(OBV,M);
看 股吧公式 www. kanguba.com
其它股票公式列表