The FXB.ta.PGO class calculates the Pretty Good oscillator. It is a bar-based calculation, and requires candle data as an input. Parameters are as follows:
Parameter
Description
period
Rolling period for the calculation