Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
48893
Rating:
(19)
Published:
2005.11.29 11:52
Updated:
2016.11.22 07:32
Awesome.mq4 (3.32 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Awesome Oscillator Indicator (AO) is a 34-period simple Moving Average, plotted through the middle points of the bars (H+L)/2, which is subtracted from the 5-period simple moving average, built across the central points of the bars (H+L)/2.

It shows us quite clearly what’s happening to the market driving force at the present moment.

Signals to buy

Saucer

This is the only signal to buy that comes when the bar chart is higher than the nought line. One must bear in mind:

  • the saucer signal is generated when the bar chart reversed its direction from the downward to upward. The second column is lower than the first one and is colored red. The third column is higher than the second and is colored green.

  • for the saucer signal to be generated the bar chart should have at least three columns.

Keep in mind, that all Awesome Oscillator columns should be over the nought line for the saucer signal to be used.

Nought line crossing

The signal to buy is generated when the bar chart passes from the area of negative values to that of positive. It comes when the bar chart crosses the nought line. As regards this signal:

  • for this signal to be generated, only two columns are necessary;

  • the first column is to be below the nought line, the second one is to cross it (transition from a negative value to a positive one);

  • simultaneous generation of signals to buy and to sell is impossible.

Two pikes

This is the only signal to buy that can be generated when the bar chart values are below the nought line. As regards this signal, please, bear in mind:

  • the signal is generated, when you have a pike pointing down (the lowest minimum) which is below the nought line and is followed by another down-pointing pike which is somewhat higher (a negative figure with a lesser absolute value, which is therefore closer to the nought line), than the previous down-looking pike.

  • the bar chart is to be below the nought line between the two pikes. If the bar chart crosses the nought line in the section between the pikes, the signal to buy doesn’t function. However, adifferent signal to buy will be generated — nought line crossing.

  • each new pike of the bar chart is to be higher (a negative number of a lesser absolute value that is closer to the nought line) than the previous pike.

  • if an additional higher pike is formed (that is closer to the nought line) and the bar chart has not crossed the nought line, an additional signal to buy will be generated.

Signals to sell

Awesome Oscillator signals to sell are identical to the signals to buy. The saucer signal is reversed and is below zero. Nought line crossing is on the decrease — the first column of it is over the nought, the second one is under it. The two pikes signal is higher than the nought line and is reversed too.

Calculation

AO is a 34-period simple moving average, plotted through the central points of the bars (H+L)/2, and subtracted from the 5-period simple moving
average, graphed across the central points of the bars (H+L)/2.

MEDIAN PRICE = (HIGH+LOW)/2

AO = SMA(MEDIAN PRICE, 5)-SMA(MEDIAN PRICE, 34)

where:

  • SMA —Simple Moving Average.

Technical Indicator Description

Full description of Awesome Oscillator is available in the Technical analysis: Awesome Oscillator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7813

Average True Range, ATR Average True Range, ATR

Average True Range Indicator (ATR) is an indicator that shows volatility of the market.

Alligator Alligator

Alligator indicator is a combination of Balance Lines that use fractal geometry and nonlinear dynamics.

Bollinger Bands, BB Bollinger Bands, BB

Bollinger Bands ® Indicator (Bollinger Bands, BB) is plotted a certain number of standard deviations

Bears Power Bears Power

Bears power oscillator (Bears Power, Bears) - trend following indicator.