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
2005.11.29 11:51
2016.11.22 07:32
ATR.mq4 (3.82 KB) view

Average True Range Indicator (ATR) is an indicator that shows volatility of the market. It was introduced by Welles Wilder in his book "New concepts in technical trading systems". This indicator has been used as a component of numerous other indicators and trading systems ever since.

Average True Range, ATR

Average True Range can often reach a high value at the bottom of the market after a sheer fall in prices occasioned by panic selling. Low values of the indicator are typical for the periods of sideways movement of long duration which happen at the top of the market and during consolidation. Average True Range can be interpreted according to the same principles as other volatility indicators. The principle of forecasting based on this indicator can be worded the following way: the higher the value of the indicator, the higher the probability of a trend change; the lower the indicator’s value, the weaker the trend’s movement is.


True Range is the greatest of the following three values:

  • difference between the current maximum and minimum (high and low);

  • difference between the previous closing price and the current maximum;

  • difference between the previous closing price and the current minimum.

    The indicator of Average True Range is a moving average of values of the true range.

Technical Indicator Description

Full description of ATR is available in the Technical analysis: Average True Range

Translated from Russian by MetaQuotes Ltd.
Original code:

Alligator Alligator

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

Accumulation Distribution Accumulation Distribution

Accumulation/Distribution Indicator is determined by the changes in price and volume.

Awesome Oscillator (AO) Awesome Oscillator (AO)

Awesome Oscillator (AO) is a 34-period simple Moving Average, which is subtracted from the 5-period simple Moving Average.

Bollinger Bands, BB Bollinger Bands, BB

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