Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


AwesomeModPips - indicator for MetaTrader 5

Manuel Sanchon | English Русский 中文 Español Deutsch 日本語 Português

votes: 26
2014.08.12 13:31
2016.11.22 07:32

This indicator is a modification of classical Awesome Oscillator indicator. It computes the smoothed difference of two exponential moving averages.

The indicator has 3 inputs: shortmean and longmean stand for the periods of two exponential moving averages (by default 30 and 60, respectively). The last input, meanAO, indicate the period of the smoothed moving average for the difference (in pips) between the shortmean-longmean EMA's.

The code has essentially three buffers:

  • ExtFastBuffer is the exponential moving average with period shortmean;
  • ExtSlowBuffer is the exponential moving average with period longmean;
  • ExtAOBuffer defined as


Finally, using the "include <MovingAverages.mqh>", we compute the smoothed moving average of this last array (ExtAOBuffer) obtaning the indicator. 

In the following image you can show this indicator in a daily chart of USDJPY with inputs 5 and 34 for the exponential means and 7 for the mean of the difference between them.

AwesomeModPips indicator

You can compare the indicator with the classical Awesome indicator which has as inputs for the exponential averages 5 and 34 in the following image.

AwesomeModPips indicator

Here, you can show an image with the parameters by default (30-60-30):

AwesomeModPips indicator

PipsToAverage PipsToAverage

This indicator measures the (smoothed) distance in pips between the close and an exponential moving average.

Rate_AOModPips Rate_AOModPips

This indicator measures the rate of change of AwesomeModPips indicator.

Linear Regression Linear Regression

The indicator uses the least squares method for the construction of the "most suitable" straight line through a series of points of price values​​.

Color Linear Regression Color Linear Regression

Color version of the Linear Regression indicator.