pvo#

pvo(volume, fast=None, slow=None, signal=None, scalar=None, offset=None, **kwargs)[source]#

Percentage Volume Oscillator (PVO)

Percentage Volume Oscillator is a Momentum Oscillator for Volume.

Sources:

https://www.fmlabs.com/reference/default.htm?url=PVO.htm

Calculation:
Default Inputs:

fast=12, slow=26, signal=9

EMA = Exponential Moving Average

PVO = (EMA(volume, fast) - EMA(volume, slow)) / EMA(volume, slow) Signal = EMA(PVO, signal) Histogram = PVO - Signal

Args:

volume (pd.Series): Series of ‘volume’s fast (int): The short period. Default: 12 slow (int): The long period. Default: 26 signal (int): The signal period. Default: 9 scalar (float): How much to magnify. Default: 100 offset (int): How many periods to offset the result. Default: 0

Kwargs:

fillna (value, optional): pd.DataFrame.fillna(value) fill_method (value, optional): Type of fill method

Returns:

pd.DataFrame: pvo, histogram, signal columns.