Dalal Street Blogs provides information for educational purposes only and does not constitute investment advice. Please consult a SEBI-registered investment adviser before making any investment decisions.
CAUTION: Dalal Street Blogs publishes market news and educational content only. We do not promote, recommend or endorse any stock, and nothing here is a solicitation to buy or sell securities. Please consult a SEBI-registered adviser before investing.

Indian Stock Market News, Analysis and Trading Guides

Technical Analysis

Accelerator Oscillator: How to Tell If Momentum Is Speeding Up or Fading

Accelerator oscillator: an empty running track with numbered lanes at the start line under an evening sky

Photo: Track starting line by royharryman on Pixabay (Pixabay Content License)

By Dalal Street Blogs Editorial9 min read

Most momentum tools tell you which way a stock is being pushed. The accelerator oscillator asks a sharper question: is that push getting stronger or running out of breath? It was built by the late trader Bill Williams as a companion to his Awesome Oscillator, and the idea behind it is simple enough to explain over chai. Before a price turns, the force behind it slows down first. If you can see the slowdown, you get an earlier warning than price alone will give you.

In this guide we’ll go through what the indicator measures, the exact formula, how to read its colours, the entry rules Williams-style platforms describe, and a full worked example with numbers you can check on a calculator. We’ll also be honest about where it goes wrong, because an early-warning tool also gives plenty of early false alarms.

In this article
  1. What the accelerator oscillator measures
  2. The accelerator oscillator formula, step by step
  3. Reading the colours, not the zero line
  4. Entry rules: two bars or three
  5. A worked example with numbers
  6. Where the accelerator oscillator fits in a trading plan
  7. Common mistakes with the accelerator oscillator
  8. Accelerator oscillator: the short version
  9. Sources

What the accelerator oscillator measures

Think about a car leaving a toll plaza. Speed is one thing. Acceleration is another. A car can still be moving forward fast while the driver has already lifted off the pedal, and if you only watch the speedometer you notice the slowdown late. The accelerator oscillator (often shortened to AC, and sometimes called the Acceleration/Deceleration indicator) is the pedal, not the speedometer.

The MetaTrader 5 help page on the indicator puts the logic plainly. Price is the last thing to change. Before price reverses, the market’s driving force changes direction. Before the driving force changes direction, its acceleration has to slow to zero and then start building the other way. So the AC is meant to turn before the driving force, which in turn is meant to turn before price.

The “driving force” here is the Awesome Oscillator. If you haven’t read it yet, our guide to the Awesome Oscillator covers it in detail. The short version: AO compares a fast and a slow average of each bar’s midpoint, and the AC then compares AO with its own recent average.

The accelerator oscillator formula, step by step

The calculation has three layers. Here it is exactly as MetaTrader 5 defines it:

  • Median price = (High + Low) / 2 for each bar.
  • AO = 5-period simple moving average of the median price minus the 34-period simple moving average of the median price.
  • AC = AO minus the 5-period simple moving average of AO.

That’s it. No exponential smoothing, no tunable multipliers in the standard version. The MetaTrader 5 Awesome Oscillator page describes the AO side the same way: a 34-period simple average of bar midpoints subtracted from a 5-period one.

Notice what using the median price does. The close is ignored. A bar that opens at the high and closes at the low has the same midpoint as one that does the opposite. Williams wanted a measure of where the bar’s range sits, not where it happened to end, which is a different philosophy from close-based tools like MACD or RSI.

Also notice the second subtraction. AO is already a difference of two averages, a measure of momentum. Subtracting AO’s own 5-bar average from it gives you something close to the change in momentum. When AO is rising faster than its recent average, AC is positive and climbing. When AO is still rising but more slowly, AC starts falling, even though AO itself still looks healthy.

The accelerator oscillator can start falling while the Awesome Oscillator is still rising. That gap is the whole point of the tool.

Reading the colours, not the zero line

On most platforms the AC is drawn as a histogram. Each bar is coloured green if it’s higher than the bar before it and red if it’s lower. That colour rule is the core of how the indicator is used.

Here’s a detail that trips up a lot of people coming from the Awesome Oscillator. With AO, crossing the zero line is treated as a signal. With AC, it isn’t. The MetaTrader 5 page says directly that, unlike the Awesome Oscillator, a zero-line cross is not regarded as a signal for the AC. The zero line is described as the point where the driving force is in balance with its acceleration. Above zero, it’s generally easier for the upward acceleration to continue. Below zero, the reverse.

So the zero line gives you context. The colours give you the trigger.

Two hard rules follow from this, again from the MetaTrader 5 description:

  • Don’t buy when the current AC bar is red.
  • Don’t sell when the current AC bar is green.

These sound obvious once written down. In practice, they’re the rules people break most often, usually because the price chart looks strong and the indicator “must be about to turn”. The AC’s job is to stop you buying while momentum is visibly fading.

Entry rules: two bars or three

The standard rule set splits entries into two cases, depending on whether you’re trading with the driving force or against it.

Trading with the driving force

If you’re buying and the AC is above zero, or selling and the AC is below zero, you’re on the same side as the force. In this case MetaTrader 5 says two consecutive green bars are enough to buy, and two consecutive red bars are enough to sell.

Trading against the driving force

If you’re buying while the AC is below zero, or selling while it’s above zero, you’re leaning against the current. Here you need one more bar as confirmation. The rule becomes three green bars below the zero line for a long position, or three red bars above the zero line for a short.

We like this asymmetry. It builds in extra patience exactly where the odds are worse. A lot of retail losses on momentum trades come from trying to catch the turn too early, and this rule forces a little humility.

A worked example with numbers

Let’s build this from the ground up. All figures below are hypothetical, made up for illustration, and don’t belong to any real stock.

Step 1: one median price. Say a stock trades between a high of ₹1,248 and a low of ₹1,232 in a session. The median price is (1,248 + 1,232) / 2 = ₹1,240.

Step 2: one AO value. Suppose that, after averaging the median prices, the 5-period average is ₹1,236.40 and the 34-period average is ₹1,221.90. Then AO = 1,236.40 − 1,221.90 = 14.50. Positive, so short-term midpoints are above the longer-term ones.

Step 3: a run of AO values and the AC. Now take a hypothetical series of AO readings over 13 sessions: 4.0, 6.5, 9.0, 11.0, 12.5, 13.5, 13.9, 13.6, 12.8, 12.6, 13.0, 13.8 and 14.5. We need five AO values before we can take their average, so the first AC appears on session 5.

Session AO 5-period SMA of AO AC (AO − SMA) AC bar colour
5 12.5 8.60 3.90 first value
6 13.5 10.50 3.00 red
7 13.9 11.98 1.92 red
8 13.6 12.90 0.70 red
9 12.8 13.26 −0.46 red
10 12.6 13.28 −0.68 red
11 13.0 13.18 −0.18 green
12 13.8 13.16 0.64 green
13 14.5 13.34 1.16 green

Check one row yourself. On session 7, the last five AO values are 9.0, 11.0, 12.5, 13.5 and 13.9. They add up to 59.9, and 59.9 / 5 = 11.98. AC = 13.9 − 11.98 = 1.92.

What the table is telling us

Look at sessions 5 to 7. AO keeps climbing, from 12.5 to 13.5 to 13.9. Someone watching AO alone sees strength. But the AC is already falling from session 6, because AO’s gains are shrinking: +1.0, then +0.4. The push is still there, it’s just weaker. AO only actually turns lower on session 8. The AC flagged that a session earlier, on session 6.

That’s the early warning in action. Under the “don’t buy on a red bar” rule, a trader using AC would have stayed away from fresh longs from session 6 onwards, while the AO chart still looked fine.

Now the recovery. Sessions 9 and 10 put the AC below zero. Session 11 prints the first green bar at −0.18. Session 12 adds a second green bar, and AC moves above zero to 0.64. Session 13 is a third green bar at 1.16.

How you read the buy depends on which side of zero you count from. The sequence started below zero, which is the “against the driving force” case, so the stricter reading waits for three green bars. That arrives on session 13. A trader who prefers to judge only by the latest bar would note that by session 12 the AC was already above zero with two green bars. We’d lean towards the stricter reading, simply because it costs one session and filters out a fair share of the one-bar bounces that fade straight back.

Where the accelerator oscillator fits in a trading plan

We wouldn’t use AC alone. It’s a second-derivative tool, and second derivatives are jumpy by nature. In a sideways market the colours can flip every session or two, and the two-bar rule will fire repeatedly into nothing.

A few practical ways traders combine it:

  • With trend context. Decide the trend first with a longer moving average or a higher time frame, then use AC only for entries in that direction. Our technical analysis guide for Indian stocks covers the basic trend tools.
  • With the rest of Williams’ toolkit. The Alligator, Fractals and Gator Oscillator were designed to work together with AO and AC. Our Gator Oscillator explainer shows how that family reads trend phases.
  • As an exit warning. Some traders don’t use AC for entries at all. They hold a position on a trend signal and use a run of red AC bars as a cue to tighten a stop-loss, not to exit outright.

An early-warning tool gives you more warnings than you want. The skill is deciding which ones to act on.

Common mistakes with the accelerator oscillator

Treating a zero cross as a signal. It’s the habit people carry over from AO. As covered above, the standard description of AC doesn’t treat it that way.

Ignoring the time frame. The 5 and 34 settings count bars, not days. On a 15-minute chart, 34 bars is less than two Indian trading sessions. On a daily chart it’s well over a month of trading. The same pattern means very different things.

Over-trading in ranges. When a stock like a large-cap FMCG name drifts sideways for weeks, AC colours alternate constantly. If you take every two-bar setup, brokerage, STT and slippage will eat whatever edge exists.

Forgetting gaps. Indian stocks often gap at the open after overnight global moves or results. Because AC uses bar midpoints and simple averages, a big gap can distort several bars of readings. Expect a messy patch after a large gap.

Mixing up the name. Some platforms label it “AC”, others “Accelerator/Decelerator” or “Acceleration/Deceleration”. Check the formula in your software matches the one above before you trust any backtest.

Accelerator oscillator: the short version

The accelerator oscillator measures whether momentum is speeding up or slowing down. It’s AO minus a 5-bar average of AO, and AO is itself a 5-bar minus a 34-bar simple average of bar midpoints. Read the colours, not the zero line. Don’t buy on red, don’t sell on green. Two bars are enough when you trade with the force, three when you trade against it.

Used with a clear trend filter and a fixed stop-loss, it can help you avoid buying into a move that’s already tiring. Used alone in a choppy market, it’ll mostly keep you busy. Paper-trade it on a few liquid NSE names across different market phases before you put money behind it.

Sources

Disclaimer: This article is for information and education only and is not investment advice. The worked example uses hypothetical prices and indicator values that don’t represent any real security. Technical indicators can give false signals; please consult a SEBI-registered adviser before making any investment decision.

Leave a Reply

Join the conversation

Commenting is open to registered readers. Sign up with just your email — no password needed, and it takes under a minute.

Sign up to comment Log in