通达信志强OBV(公式副图源码K线图)通达信新OBV源码优化
-
相关简介:M:=30; N:=10; VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL); OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); MA130:=MA(OBV,M); DRAWBAND(MA130,RGB(0,0,80),OBV1,RGB(160,0,000)); A1:=REF(OBV1,N)=HHV(OBV1,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); D1:=FILTER(C1,N); T
-
文章来源:股海网作者:股海网发布时间:2019-06-20浏览次数:
M:=30;
N:=10;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MA130:=MA(OBV,M);
DRAWBAND(MA130,RGB(0,0,80),OBV1,RGB(160,0,000));
A1:=REF(OBV1,N)=HHV(OBV1,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
T线:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;
STICKLINE(C>0,T线,T线,6,0),COLORFF6600;
DRAWICON(CROSS(OBV,T线),T线*0.99,1);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MA30:MA(OBV,M);
XA_2:=1;
志强OBV创新高是牛股:PLOYLINE(1,CONST(OBV))*XA_2,COLOR008888;