XA_1:=30;
XA_2:=30;
XA_3:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
XA_4:=SUM(IF(CLOSE=REF(CLOSE,1),0,XA_3),0);
XA_5:=MA(OBV,XA_1);
DRAWBAND(XA_5,RGB(0,0,80),XA_4,RGB(160,0,0));
XA_6:=REF(XA_4,XA_2)=HHV(XA_4,2*XA_2+1);
{股票指标网};
XA_7:=FILTER(XA_6,XA_2);
XA_8:=BACKSET(XA_7,XA_2+1);
XA_9:=FILTER(XA_8,XA_2);
T线:REF(OBV,BARSLAST(XA_9)),NODRAW,COLORMAGENTA;
STICKLINE(CLOSE>0,T线,T线,6,0),COLORMAGENTA;
DRAWICON(CROSS(OBV,T线),T线*0.99,1);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,XA_3),0);
MA30:MA(OBV,XA_1);