Awesome Oscillator (AO)

Created by Bill Williams, the Awesome Oscillator (aka Super AO) is a measure of the gap between a fast and slow period modified moving average. [Discuss] 💬

chart for Awesome Oscillator (AO)

// C# usage syntax
IEnumerable<AwesomeResult> results =
  quotes.GetAwesome(fastPeriods, slowPeriods);

Parameters

fastPeriods int - Number of periods (F) for the faster moving average. Must be greater than 0. Default is 5.

slowPeriods int - Number of periods (S) for the slower moving average. Must be greater than fastPeriods. Default is 34.

Historical quotes requirements

You must have at least S periods of quotes to cover the warmup periods.

quotes is a collection of generic TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.

Response

IEnumerable<AwesomeResult>

AwesomeResult

Date DateTime - Date from evaluated TQuote

Oscillator double - Awesome Oscillator

Normalized double - 100 × Oscillator ÷ (median price)

Utilities

See Utilities and helpers for more information.

Chaining

This indicator may be generated from any chain-enabled indicator or method.

// example
var results = quotes
    .Use(CandlePart.HL2)
    .GetAwesome(..);

Results can be further processed on Oscillator with additional chain-enabled indicators.

// example
var results = quotes
    .GetAwesome(..)
    .GetRsi(..);