VAR1:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:SUM(IF(CLOSE=REF(CLOSE,1),0,VAR1),0);
VAR2:=OBV-MA(OBV,30);
VAR3:=FILTER(REF(OBV,5)=HHV(OBV,2*5+1),5);
VAR4:=FILTER(REF(C,5)=HHV(C,2*5+1),5);
VAR5:=REF(OBV,BARSLAST(FILTER(BACKSET(VAR3,5+1),5)));
STICKLINE(VAR2>0,0,VAR2,1,0),COLORRED;
STICKLINE(VAR2<0,0,VAR2,1,0),COLORCYAN;
MAOBV:MA(OBV,30);
C高:REF(C,BARSLAST(FILTER(BACKSET(VAR4,5+1),5))),NODRAW;
量入为主:crOSS(OBV,VAR5) AND H<C高,NODRAW;
STICKLINE(量入为主,0,VAR2,1,0),COLORYELLOW;