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;