Awesome Oscillator - FXB.ta.AO

The FXB.ta.AO class calculates the Awesome Oscillator: the difference between two moving averages (therefore similar to the main value of MACD). It is a value-based calculation, and can be applied to any series of values including the output of another FXB.ta calculation. For candle-based calculations, the default member for the Awesome Oscillator is the typical price, not the close price. Other parameters are as follows:

Parameter

Description

fast

Period for fast moving average (defaults to 5)

slow

Period for slow moving average (defaults to 34)

maType

Type of moving average for the fast and slow averages. Defaults to a simple moving average (sma / 0).