Momentum indicators

Accelerator Oscillator (AC): Formula, Color Rules, and Every Signal on Hourly Bitcoin

Bill Williams’s Accelerator Oscillator measures whether momentum is speeding up or slowing down. How it is calculated, the green and red bar rules, and what each of its 35 signals gave on 250 hours of Bitcoin.

· Founder of PatternsWizard
Checked 9 min read
Accelerator Oscillator(5, 34, 5) on Bitcoin, hourly, October 26, 2026, 12:00 UTC to October 28, 2026, 23:00 UTC. Illustration of how the indicator reads, not a backtest.
On this page
  1. How the Accelerator Oscillator is calculated
  2. How to read it: the color rules
  3. Every AC signal on hourly Bitcoin
  4. Does it work?
  5. Frequently asked questions

The Accelerator Oscillator (AC) is one of Bill Williams’s indicators; the TA-Lib documentation dates it to his book New Trading Dimensions (Wiley, 1998). It takes his Awesome Oscillator, which measures momentum, and subtracts its own 5-bar average, so it shows whether momentum is speeding up or slowing down. It is read through the color of its bars, not through its level: a green bar is higher than the one before, a red bar lower. Below: the formula, the buy and sell rules as MetaTrader describes them, and every signal they gave on hourly Bitcoin over the last 250 hours.

Accelerator Oscillator (5, 34, 5) on Bitcoin, hourly

Accelerator Oscillator(5, 34, 5) on Bitcoin, hourly, October 18, 2026, 14:00 UTC to October 28, 2026, 23:00 UTC. Illustration of how the indicator reads, not a backtest.
  • Price, hourly candles (hollow up, filled down)
  • AC bars: green when higher than the bar before, red when lower
Accelerator Oscillator(5, 34, 5) on Bitcoin, hourly, October 18, 2026, 14:00 UTC to October 28, 2026, 23:00 UTC. Illustration of how the indicator reads, not a backtest.

How the Accelerator Oscillator is calculated

Start from the median price of each bar, (high + low) / 2. The Awesome Oscillator (AO) is its 5-bar simple moving average minus its 34-bar one. The AC is the AO minus a 5-bar simple moving average of the AO. It is in price units, like the AO, so its scale depends on the market.

How to read it: the color rules

MetaTrader’s help for the indicator sets out the rules. Crossing zero is not a signal, unlike with the Awesome Oscillator. What matters is the color: you cannot buy on a red bar or sell on a green one.

  • Buy after two green bars when the AC is above zero, or three green bars when it is below zero.
  • Sell after two red bars when the AC is below zero, or three red bars when it is above zero.

Accelerator Oscillator buy rules: two green bars above zero, three below

Accelerator Oscillator buy rules: two green bars above zero, three below: two panels of histogram bars around a zero line. Left, the AC above zero: after a reference bar, one red bar lower than it, then two green bars, each higher than the one before: buy. Right, the AC below zero: after a reference bar, one red bar, then three green bars rising toward zero: buy. A green bar is higher than the bar before, a red bar lower. The sell rules are the mirror image with red bars.
Schematic, not market data. The rules as described in the MetaTrader help; a zero-line cross is not a signal.

The same page claims the AC “will change direction before any changes in the driving force, which, it [sic] its turn, will change its direction before the price.” The first half is built into the formula: since the AC is the AO minus its recent average, it turns as soon as the AO slows down. Over the 250 hourly bars on this page, the AO changed color 49 times. The AC had already turned the same color in 31 of those cases, turned on the same bar in 12, and had not turned in 6: it usually leads, not always.

When the AO changed color, had the AC turned first?

When the AO changed color, had the AC turned first?. AC had already turned that color: 31; AC turned on the same bar: 12; AC had not turned that color by then: 6. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.The 49 color changes of the Awesome Oscillator over the 250 hourly bars of Bitcoin to October 28, 2026, 23:00 UTC. A color is green when the bar is higher than the one before.

Every AC signal on hourly Bitcoin

We applied the rules above to the 250 hourly bars from October 18, 2026, 14:00 UTC to October 28, 23:00 UTC. Bitcoin went from 81,103.25 to 81,343.50 over the period, a market that went nowhere. A signal is counted on the bar that completes the required run of colors, with runs counted over the whole history of the series, so a run that began before the window still counts. The table gives every one of them, with the change in price 6 and 24 hours later; the chart first sums them up.

AC signals followed by a move in their direction

AC signals followed by a move in their direction. Buy signals: 6 hours later 8 of 17, 24 hours later 8 of 15; Sell signals: 6 hours later 12 of 18, 24 hours later 7 of 16. Our computation; the inputs and the method are in the text.
  • 6 hours later
  • 24 hours later
Our computation; the inputs and the method are in the text.The 35 signals of the table, hourly Bitcoin, October 18 to 28, 2026. Signals less than 24 hours before the end of the series are left out of the second bar.
Time (UTC)SignalRuleClose6 hours later24 hours later
Oct 18, 14:00Sell2 bars, AC below zero81,103.25−0.17%+1.48%
Oct 18, 20:00Buy3 bars, AC below zero80,963.11+2.17%+1.31%
Oct 19, 05:00Sell3 bars, AC above zero82,756.38−0.48%−1.25%
Oct 19, 20:00Buy3 bars, AC below zero82,022.06−0.28%+1.01%
Oct 20, 01:00Sell2 bars, AC below zero81,798.15−0.28%+1.47%
Oct 20, 08:00Sell2 bars, AC below zero81,542.80+2.13%+2.09%
Oct 20, 12:00Buy3 bars, AC below zero81,620.26+1.13%+2.31%
Oct 20, 20:00Sell3 bars, AC above zero82,848.01−0.05%+2.22%
Oct 21, 00:00Buy2 bars, AC above zero83,029.84−0.27%+1.41%
Oct 21, 08:00Buy2 bars, AC above zero83,247.72+1.60%−1.67%
Oct 21, 15:00Buy2 bars, AC above zero84,540.01+0.36%−3.38%
Oct 22, 02:00Sell2 bars, AC below zero82,916.91−1.27%−1.14%
Oct 22, 07:00Buy3 bars, AC below zero82,239.46−0.66%−0.80%
Oct 22, 16:00Sell2 bars, AC below zero81,284.01+0.08%+0.53%
Oct 23, 09:00Sell3 bars, AC above zero81,676.26+0.02%−1.28%
Oct 23, 17:00Buy2 bars, AC above zero81,649.25−0.56%−1.68%
Oct 23, 19:00Sell2 bars, AC below zero81,282.33−0.43%−0.98%

From October 24 the signals come every few hours; the chart below covers October 24 and 25, then the table resumes.

Nine AC signals in two days of hourly Bitcoin, October 24 and 25, 2026

Accelerator Oscillator(5, 34, 5) on Bitcoin, hourly, October 24, 2026, 00:00 UTC to October 25, 2026, 23:00 UTC. Illustration of how the indicator reads, not a backtest.
  • Price, hourly candles (hollow up, filled down)
  • AC bars: green when higher than the bar before, red when lower
Accelerator Oscillator(5, 34, 5) on Bitcoin, hourly, October 24, 2026, 00:00 UTC to October 25, 2026, 23:00 UTC. Illustration of how the indicator reads, not a backtest.The table’s signals from October 24, 04:00 to October 25, 13:00 UTC: the bars change color every few hours while the close stays between 79,803.75 and 80,995.78.
Time (UTC)SignalRuleClose6 hours later24 hours later
Oct 24, 04:00Buy3 bars, AC below zero80,880.01−0.27%+0.05%
Oct 24, 08:00Sell2 bars, AC below zero80,715.62−0.62%−0.38%
Oct 24, 12:00Buy3 bars, AC below zero80,782.01−0.30%−0.41%
Oct 24, 15:00Sell2 bars, AC below zero79,803.75+0.77%+1.04%
Oct 24, 19:00Buy2 bars, AC above zero80,489.11+0.51%+0.10%
Oct 25, 00:00Sell3 bars, AC above zero80,877.25−0.47%−0.88%
Oct 25, 03:00Buy2 bars, AC above zero80,862.98−0.66%−1.56%
Oct 25, 06:00Sell3 bars, AC above zero80,496.00−0.05%−0.45%
Oct 25, 13:00Buy3 bars, AC below zero80,386.09+0.23%−0.85%
Oct 26, 12:00Sell3 bars, AC above zero80,332.71−0.42%+0.04%
Oct 26, 18:00Buy2 bars, AC above zero79,992.01+0.29%+0.79%
Oct 26, 20:00Sell2 bars, AC below zero79,864.94−0.06%+1.17%
Oct 27, 00:00Buy2 bars, AC above zero80,223.79−0.69%+0.65%
Oct 27, 22:00Sell3 bars, AC above zero80,905.75+0.11%+0.46%
Oct 28, 05:00Buy3 bars, AC below zero80,900.57+0.55%not yet
Oct 28, 07:00Sell2 bars, AC below zero81,082.00−0.42%not yet
Oct 28, 09:00Buy2 bars, AC above zero81,550.00−1.22%not yet
Oct 28, 13:00Sell2 bars, AC below zero80,740.01+1.05%not yet

There were 35 signals, 17 buys and 18 sells. Six hours later, price had moved in the signal’s direction 20 times out of 35; twenty-four hours later, 15 times out of the 31 that are old enough to measure. Sells did better than buys after six hours, 12 of 18 against 8 of 17, and the order reversed after twenty-four hours: on a market that went nowhere, that is noise. Thirty of the 35 signals reversed the one before within the window; the first one, a sell, also reversed the last signal before the window, a buy at 10:00 UTC that morning. Treated as a stop and reverse system, always in the market and switching side at the close of each opposite signal, the rules closed 30 trades, 14 of them winners, for a compounded +0.63% before costs, counted from the first signal of the window, with a sell still open since 80,740.01. The chart compares it with the daily run described next.

Stop and reverse on every AC signal, against holding Bitcoin

Stop and reverse on every AC signal, against holding Bitcoin. 250 hourly bars, October 18 to 28, 2026: AC signals, closed trades compounded +0.63%, Bitcoin over the window +0.30%; 250 daily bars, February 21 to October 28, 2026: AC signals, closed trades compounded −30.65%, Bitcoin over the window +19.67%. Our computation; the inputs and the method are in the text.
  • AC signals, closed trades compounded
  • Bitcoin over the window
Our computation; the inputs and the method are in the text.Switch side at the close of each opposite signal, before costs; the open position at the end is not counted. Two windows of one market: an illustration, not a test.

On daily Bitcoin over 250 days, from February 21 to October 28, 2026, the same system did worse. It closed 29 trades, 9 of them winners, for a compounded −30.65%, while Bitcoin rose from 67,975.93 to 81,343.50, a gain of 19.67%. The chart shows the same 250 days; the signals are counted with the rules above.

Accelerator Oscillator (5, 34, 5) on daily Bitcoin

Accelerator Oscillator(5, 34, 5) on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • AC bars: green when higher than the bar before, red when lower
Accelerator Oscillator(5, 34, 5) on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

Does it work?

We have no long-run measurement of the Accelerator Oscillator: our bench tests chart patterns detected by rule against random entries, not indicators (see our methodology). On the two samples above, the color rules were right about half the time and fired constantly.

Related pages: the Awesome Oscillator, which the AC is built on, the Williams Alligator, Williams fractals, the MACD, which uses the same kind of line minus its own average, and the list of momentum indicators.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What is the Accelerator Oscillator?

A Bill Williams indicator that subtracts a 5-bar average of the Awesome Oscillator from the Awesome Oscillator itself. It shows whether momentum is accelerating (green bars) or decelerating (red bars).

What is the difference between the Awesome Oscillator and the Accelerator Oscillator?

The Awesome Oscillator measures momentum, as the gap between a 5-bar and a 34-bar average of the median price. The Accelerator measures the change in that momentum. MetaTrader treats a zero crossing as a signal for the AO but not for the AC.

How do you trade the Accelerator Oscillator?

By the color of the bars: buy after two green bars above zero or three below, sell after two red bars below zero or three above, and never buy on a red bar or sell on a green one. On the 250 hourly bars of Bitcoin on this page, those rules were right about half the time.

What are the best settings for the Accelerator Oscillator?

The standard settings are 5 and 34 for the Awesome Oscillator and 5 for the average subtracted from it. No other setting has been shown to work better.

Sources

  1. MetaTrader 5 Help, Accelerator Oscillator
  2. MetaTrader 5 Help, Awesome Oscillator
  3. TradingView, Williams Accelerator Oscillator (AC) script
  4. TA-Lib, Accelerator/Decelerator Oscillator (AC)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All momentum indicators articles