振幅:=(H-L)/REF(C,2)*100;
CC:=(H-L)*0.618+L;
CC1:=(H-L)*0.809+L;
CC2:=(H-L)*0.618+L;
CC3:=(H-L)*0.5+L;
CC4:=(H-L)*0.382+L;
OBV1:=MA(SUM(IF(C>REF(CC,1),振幅,IF(C<REF(CC1,1),-振幅,0)),0),1);
OBV2:=MA(SUM(IF(C>REF(CC,1),振幅,IF(C<REF(CC2,1),-振幅,0)),0),1);
OBV3:=MA(SUM(IF(C>REF(CC,1),振幅,IF(C<REF(CC3,1),-振幅,0)),0),1);
OBV4:=MA(SUM(IF(C>REF(CC,1),振幅,IF(C<REF(CC4,1),-振幅,0)),0),1);
OBV:(OBV1+OBV2+OBV3+OBV4)/4,LINETHICK1;
MA1:EMA(SLOPE(OBV,42)+OBV,24),LINETHICK1;
MA2:EMA(SLOPE(OBV,42)+OBV,48),LINETHICK1;
MA3:EMA(SLOPE(OBV,42)+OBV,75),LINETHICK1,POINTDOT;