通达信放量上攻OBV指标公式

时间:2023-10-15 10:53:15    阅读:202

 M:=30;N:=10;VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);obv:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MaoBV:MA(OBV,M);A1:=REF(OBV,N)=HHV(OBV,2*N+1);B1:=FILTER(A1,N);C1:=HHV(B1,200);D1:=FILTER(C1,N);T线:=REF(OBV,BArslAST(D1)),COLORFF0099;OBV上穿:=crOSS(OBV,T线),COLOR6600DD;X_2:=13;X_3:=X_2/2;X_4:=SQRT(X_2);X_5:=2*WMA(CLOSE,X_3)-WMA(CLOSE,X_2);X_6:=WMA(X_5,X_4);X_7:=34;X_8:=X_7/2;X_9:=SQRT(X_7);X_10:=2*WMA(CLOSE,X_8)-WMA(CLOSE,X_7);短线:=WMA(X_10,X_9);放量上攻:=COUNT(OBV上穿,13)>0 AND V>=MA(V,5) AND CROSS(MA(C,3),短线);DRAWICON(放量上攻,OBV*0.99,11),COLORFF6699;

关键词: OBV