# Awesome Oscillator (AO)

> QuantNexus indicator page for the Awesome Oscillator.

**Route**: `/quantnexus/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

```cpp
#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.
