Awesome oscillator

aobill_williamsForge API 1

Momentum from the gap between a fast and a slow average of the median price.

Inputs

NameTypeDefaultRange
fast_periodint51 to 5000
slow_periodint341 to 5000

Outputs

NameTypeRequiredDescription
aovalueOptionalcolor 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