Accelerator oscillator

acbill_williamsForge API 1

How fast the Awesome oscillator is speeding up or slowing down.

Inputs

NameTypeDefaultRange
fast_periodint51 to 5000
slow_periodint341 to 5000
signal_periodint51 to 5000

Outputs

NameTypeRequiredDescription
acvalueOptionalcolor 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)