Accelerator oscillator
How fast the Awesome oscillator is speeding up or slowing down.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| fast_period | int | 5 | 1 to 5000 |
| slow_period | int | 34 | 1 to 5000 |
| signal_period | int | 5 | 1 to 5000 |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| ac | value | Optional | color theme.accent, color_down theme.down, color_up theme.up, style histogram |
- Warm-up
- slow_period + signal_period - 2 bars (37 at the defaults)
- Repaints
- No
- Parity
- MetaTrader 5, within 1e-12
Formula
AC = AO - SMA(AO, signal_period)