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;