indicator · own pane · open source

Accelerator Oscillator indicator

Accelerator Oscillator is a free open-source indicator. Accelerator Oscillator (AC) is the Awesome Oscillator minus its own 5-bar SMA — the change… Deepwick Script runs a subset of Pine Script.

v1Updated 3 Oct 2026▲ 0 users
Running…
Loading chart…

What Accelerator Oscillator does

Accelerator Oscillator (AC) is the Awesome Oscillator minus its own 5-bar SMA — the change in AO momentum. Histogram that fires before the AO turns.

  • Crosses of zero lead AO turns by 1-3 bars.
  • Two same-direction bars of AC confirm the AO momentum.
  • Pair with AO for a complete Bill Williams momentum stack.

Source code

Deepwick Script, a subset of Pine Script · read-only

//@version=6
indicator("Accelerator Oscillator", overlay=false)
fast = input.int(5, "AO Fast", minval=2, maxval=50)
slow = input.int(34, "AO Slow", minval=2, maxval=200)
smooth = input.int(5, "AC Smoothing", minval=2, maxval=50)
colorUp = input.color("color.green", "Color  Up")
colorDown = input.color("color.red", "Color  Down")
colorNeutral = input.color("color.gray", "Color  Neutral")
ao = ta.sma(hlc3, fast) - ta.sma(hlc3, slow)
ac = ao - ta.sma(ao, smooth)
hline(0, "Zero", color=colorNeutral, linestyle=hline.style_dotted)
p_AC = plot(ac, "AC", color=ac >= 0 ? colorUp : colorDown, style=plot.style_columns)
alertcondition(ta.crossover(ac, 0), "AC crosses zero up", "Accelerator Oscillator crossed above zero")
alertcondition(ta.crossunder(ac, 0), "AC crosses zero down", "Accelerator Oscillator crossed below zero")

Comments

No comments yet.

Sign in to comment.