Awesome Oscillator (AO)

StratCraft indicator page for the Awesome Oscillator.

Route: /indicators/ao/

What It Does

AO measures momentum by comparing a fast and slow moving average of median price. It is a classic oscillator for trend acceleration.

Formula

AO = SMA(median price, fast) - SMA(median price, slow)

Parameters

  • fast - default 5
  • slow - default 34
  • movav - default SMA

C++23 API

#include <nonabt/indicators/ao.hpp>
auto ao = std::make_unique<nonabt::AO>(data(), 5, 34, "SMA");

Common Usage

  • Use AO for momentum shifts.
  • Combine with zero-line crossings.
  • Use with divergence analysis.

Practical Pattern

AO crossing above zero can suggest increasing bullish momentum; below zero can suggest bearish momentum.