:(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;:=BIAS;P:=5;A1:=REF(OBV,P)=HHV(OBV,2*P+1);B1:=FILTER(A1,P);C1:=BACKSET(B1,P+1);D1:=FILTER(C1,P);{高点}A2:=REF(OBV,P)=LLV(OBV,2*P+1);B2:=FILTER(A2,P);C2:=BACKSET(B2,P+1);D2:=FILTER(C2,P);{}上:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;下:REF(OBV,BARSLAST(D2)),COLOR00FF00,NODRAW;向上:OSS(OBV,上*1.01),NODRAW;相对:=(OBV-下)/(上-下)*100,COLORYELLOW;R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);S11:=R11>REF(R11,1);:DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;T11:=BACKSET(ISLASTBAR,BARSLAS