Awesome oscillator
Momentum from the gap between a fast and a slow average of the median price.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| fast_period | int | 5 | 1 to 5000 |
| slow_period | int | 34 | 1 to 5000 |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| ao | value | Optional | color theme.accent, color_down theme.down, color_up theme.up, style histogram |
- Warm-up
- slow_period - 1 bars (33 at the defaults)
- Repaints
- No
- Parity
- MetaTrader 5, within 1e-12
Formula
AO = SMA(median, fast_period) - SMA(median, slow_period), median = (high + low) / 2