Back to Guides
Guide

How to Use the Awesome Oscillator in a Trading Strategy

How to use the Awesome Oscillator: the formula, its three signals written as testable rules, where the published rules conflict, and how to test them.

The Awesome Oscillator has three signals, and each one becomes usable only once you fix the detail the published rules leave open. Write these down before you trade them:

  • The zero-line cross. Fix which bar you enter on, the signal bar or the one after it.
  • The saucer. Fix how many bars make one, and which side of zero they have to sit on.
  • Twin peaks. Fix what cancels the pattern before entry.

The formula is the only part nobody disputes. Everything built on top of it is somebody's interpretation, and two well-ranked sources publish opposite answers to the most basic question about it, which is what a zero-line cross means.

What is the Awesome Oscillator?

A momentum histogram designed by Bill Williams that subtracts a slow moving average of price from a fast one:

AO = SMA(median price, 5) - SMA(median price, 34)

Median price is (High + Low) / 2, as LiteFinance spells out: "Median Price (Average Price) = (High + Low) / 2". roboforex writes the same thing as "AO = SMA (MEDIAN PRICE, 5) - SMA (MEDIAN PRICE, 34)", and cmcmarkets as a "5 period simple moving average (median price)" minus a "34 period simple moving average (median price)".

Read the bar height as the gap between a 5-period and a 34-period average of the midpoint of each candle. Above zero means the fast average is above the slow one. Rising means the gap is widening.

How do you read the green and red bars?

A bar is green when it is higher than the bar before it and red when it is lower.

cmcmarkets: "Green bars represent 'ups', where the awesome oscillator's value is greater than the previous bar, and the red bars represent 'downs', where the value is lower than the previous bar." Forex Tester puts it in one line: "The green column of the histogram is formed if the current bar is higher than previous, red – if below."

The colour compares a bar with the one before it, not with zero. A green bar can sit well below the zero line and a red bar well above it. Colour and side of zero are two separate pieces of information, and treating them as one is behind several of the disagreements between sources.

Is the Awesome Oscillator in ChartLabs?

Yes. It is listed as Awesome Oscillator in the chart's Indicators menu, in the Standard list under the Momentum & Oscillators heading, and it opens in its own pane below price. We draw it as a histogram around a zero baseline, with the same bar-to-bar colouring: the up colour when a bar's value is above the one before it, the down colour when it is below.

Does crossing the zero line mean buy or sell?

The formula says what the cross is: the moment the 5-period average of median price crosses the 34-period average. Whether that moment is worth trading is an empirical question, and the published answers point both ways.

cmcmarkets states the common reading: "If the awesome oscillator crosses above the zero line, this signals bullish momentum, but if it crosses below the zero line, this signals a bearish momentum." blueberrymarkets states the opposite: "A bullish crossover occurs when the Awesome Oscillator crosses the zero line from above, and a bearish crossover occurs when it crosses the zero line from below", then adds that both crossovers suggest a reversal, "signalling selling opportunities in bullish crossovers and buying opportunities in bearish crossovers". Fifteen lines earlier the same page says "A reading above the zero line indicates an existing uptrend". Those cannot all hold.

cmcmarkets contradicts itself more quietly. Nine lines above its own crossover strategy it says that when the oscillator "crosses above or below the zero line, this is not seen as a trading signal, but instead simply shows signs of bullishness or bearishness". The next section opens: "A common awesome oscillator trading strategy is to use the zero-line crossover to interpret signals."

Nobody has tested it either way, so pick a direction rather than a source to believe, and then check it. Plot the indicator on a symbol and timeframe you actually trade, step the chart forward one bar at a time, and at every zero cross write down the direction of the cross and what price did over the next ten bars. Thirty crosses measured on your instrument, in your period, with your costs will tell you more than any of the published readings.

How many bars make a saucer?

There is no agreed number, which is why the saucer needs a definition of your own before you can count anything.

cmcmarkets describes "rapid momentum changes in three or more bars at once". realtrading says "three consecutive bars on the histogram". blueberrymarkets is the most specific, asking for exactly two red bars then a green one, and to "open a buy position at the third bar". LiteFinance says three bars point to a trough, then that "The number of bars in the trough does not matter".

LiteFinance is the only source that says the pattern is weak by construction: "The formation of a "Saucer" pattern on the indicator is considered a relatively weak signal because of its delay. By the time it is fully formed, the price has already passed most of the trend. Therefore, it is recommended to use it only for trading on the next 3-4 candlesticks after the signal appears."

Having described the three-bar version most sources print, LiteFinance writes: "Tests show that such combinations occur frequently and are not a signal." It then publishes its own filtered version, which adds that the three bars must sit on the correct side of zero and that the trade is only opened once the indicator passes the previous extreme.

A pattern that occurs frequently and is defined four different ways is one whose definition you have to pin down yourself.

How do twin peaks work?

Two peaks on the same side of zero, where the second is closer to zero than the first. blueberrymarkets describes a bullish twin peak as two peaks below zero where the second is higher than the first.

realtrading describes the bearish version in a way that cannot happen: "A bearish twin peak, on the other hand, happens when there are two straight peaks above the neutral line. The second peak should be below the neutral line." As written that asks for two peaks above the line where the second is below it. Its bullish version is the standard one, where "the second peak should be higher than the initial one".

Forex Tester adds the condition that makes the pattern countable: "If within the model the histogram crosses the zero line – the trade signal is canceled!" Without one you will never agree with yourself about which occurrences qualified.

What are the best Awesome Oscillator settings?

On MetaTrader there are none to change.

LiteFinance: "On the MT4 and MT5 platforms, the technical indicator settings are embedded in the code and cannot be changed", and on MT4 specifically, "there are none of them at all". Its MACD comparison on the same page says "The AO cannot be tuned". Some web platforms do expose the two periods. ChartLabs is one of them: the indicator's settings carry a Fast Length and a Slow Length, which arrive at Williams' 5 and 34 and can be changed.

Forex Tester puts both sides of the period question in one sentence: "The basic periods of calculation of moving averages aren't recommended to be changed (curious can try options − (7; 24), (10; 36)), but Williams claims that these parameters are optimum".

So the answer depends on your platform, and the two alternatives anyone names, 7 and 24 or 10 and 36, are offered as curiosities with no test behind them. If you do change 5 and 34, change one thing, re-run the same period with the same rules, and keep the trade counts. Changing several at once and keeping the best-looking result is how a tested idea turns into a fitted one.

What is Awesome Oscillator divergence?

Price and the oscillator disagree about direction: price makes a lower low while the histogram makes a higher low, or the reverse. Defining it is easy; the published direction varies.

roboforex, under a block captioned "Divergence - a signal to buy", describes the bullish setup correctly: "A divergence signals to buy when the price chart forms a low below the previous one but the low on the Awesome Oscillator chart is above the preceding one". The instruction that follows in the same block is to "open a selling position". The heading says buy, the described setup is the bullish one, and the instruction says sell.

Forex Tester prints the inversion as its rule, writing that at bull divergence it looks for an entry point in SELL, and at bear, an entry point in BUY.

Neither is a rule to follow. The formula gives the one fixed anchor: a higher low on the histogram while price makes a lower low means the gap between the 5-period and 34-period averages of median price narrowed less on the second low than on the first. What that is worth is for your test to say.

What is the difference between the Awesome Oscillator and MACD?

Four differences, from LiteFinance's own comparison:

Awesome OscillatorMACD
Price inputmedian price, (High + Low) / 2closing prices
Averagessimple moving averagesexponential moving averages
Adjustable periodsnone on MT4 and MT5three settings
Signal linenonea signal line and a MACD line

In LiteFinance's words: "The AO is based on the difference of median prices; MACD uses closing prices and exponential moving averages", "MACD has three settings and can be adjusted. The AO cannot be tuned", and "A signal line and a MACD line are used as additional filters and signal tools. The AO has none of these."

The two histograms look similar but are not the same series, so a rule tuned on one will not transfer unchanged to the other.

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

The Accelerator Oscillator is built from the Awesome Oscillator. LiteFinance gives the formula: "Accelerator Oscillator = AO - SMA5 (AO), where the last five values of the Awesome Oscillator are averaged using the arithmetic mean formula, and the result is subtracted from the last AO value."

Because it measures the change in the Awesome Oscillator rather than the Awesome Oscillator itself, LiteFinance notes that it "can give signals earlier". Its own rules and its own disagreements are in our guide to the Accelerator Oscillator.

Has anyone tested the Awesome Oscillator?

One published test exists. Forex Tester ran the zero-line crossover on EUR/USD, 1 hour, with "Spread meaning – 5" and "Stop Loss/Take Profit: we do not use in this strategy", across three market types:

MarketTraining setForward setTraining resultForward result
Bull01/03/2011 to 23/06/201109/06/2010 to 10/08/2010+153 pips-215 pips
Bear01/01/15 to 27/03/201501/09/2014 to 27/10/2014+249 pips+59 pips
Flat01/09/2016 to 08/02/201704/05/2015 to 12/06/2015+121 pips+121 pips

Every forward window is dated earlier than the training window it is meant to test, so whatever those second columns measure, running earlier data after later data is not forward testing. The bull forward set loses more than the training set gained, while Forex Tester's page concludes that "the Awesome Oscillator can be quite useful and can improve your way trading if you know how to use it properly of course". The flat row prints the same figure in both columns. And there is no trade count anywhere, so 59 pips could be one trade or forty.

Forex Tester's own caveats are explicit: "we cannot guarantee the ideal performance of the strategy during the live trading even if it turned out to be profitable during the backtesting." It also writes that backtesting gives statistically proven confidence "to some extent", and that the backtested strategy is used on a live account at the reader's own risk.

A published test with checkable flaws is more useful than no test at all, and its gaps are exactly what your own test has to get right. Nobody publishes a hit rate for this indicator, and neither will we.

How do you backtest the Awesome Oscillator yourself?

Six decisions, all made and written down before the first trade.

  1. Choose one signal. Zero-line cross, saucer, or twin peaks. A test of three patterns at once cannot tell you which one did the work.
  2. Fix the entry bar. The signal bar or the one after it, not whichever looks better in hindsight. Forex Tester's own page makes this decision two different ways, and it changes every result downstream.
  3. Fix the cancellation condition. Forex Tester's zero-cross cancellation is the clearest published example. Without one you will count borderline cases inconsistently and never know it.
  4. Pick the date range before you look at the chart. Picking the period after seeing where the indicator worked tests your memory rather than your rules.
  5. Set your costs first. Commission and slippage are set per symbol on ChartLabs, and every trade's P&L, balances and analytics reflect them. A zero-cost test of a signal that fires often will flatter it badly.
  6. Count the trades, not just the pips. The number of signals the period produced is the figure that makes everything else comparable.

Then record, for every trade: the symbol and timeframe, the period with both dates, which pattern you traded, which bar you entered on, what cancelled a signal, how many signals the period produced, how many of those were cancelled before entry, the commission and slippage you applied, and the result with those costs in it. State the trade count next to every result you keep.

On tooling, you can add custom indicators of your own alongside the built-in Awesome Oscillator, write indicators in Pine Script with a built-in editor, and give each indicator instance its own colour and line style, editing one without changing the others, which is what keeps two copies of the same indicator readable. There is no automated signal testing here: you step the chart bar by bar and take the trades yourself, so what you measure is what you would actually have done.

Stepping the chart forward one bar at a time is what our trading simulator is for, and our forex backtesting guide covers the surrounding method: data, periods, and what a result does and does not tell you.

Pick one signal, fix its entry bar and its cancellation condition, and count what it did on your own symbol. Start your free trial.

Related Topics

awesome-oscillatorindicatorsbill-williamsmomentumbacktestingtrading-strategy