P:=5;
VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
AA1:=REF(OBV,P)=HHV(OBV,2*P+1);
BB1:=FILTER(AA1,P);
CC1:=(BB1,P+1);
DD1:=FILTER(CC1,P);
前期高点:=REF(OBV,BArslAst(DD1));
红箭头:crOSS(OBV,前期高点);
P:=5;
VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
AA1:=REF(OBV,P)=HHV(OBV,2*P+1);
BB1:=FILTER(AA1,P);
CC1:=(BB1,P+1);
DD1:=FILTER(CC1,P);
前期高点:=REF(OBV,BArslAst(DD1));
红箭头:crOSS(OBV,前期高点);