Download MetaTrader 5

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

2011.10.21 17:01
ATR ratio

ATR ratio - indicator for MetaTrader 5

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

Published by:
Nikolay Kositsin
votes: 9
atrratio.mq5 (6.37 KB)view

Real author:

Luis Guilherme Damiani


The indicator of the ratio between fast Average True Range (ATR) and slow ATR.

ATR ratio often reach high values after the prices quick and strong movements. Low indicator values often correspond with long periods of flat that can be observed on the market top and during consolidation. It can be intepreted according to same rules as other volatility indicators. Forecasting method using ATR ratio is as follows: the higher is the indicator value, the higher is the probability of a trend change; the lower is the value, the weaker is the trend movement. In case the indicator value climbs above the blue horizontal line, it is time to buy or sell.

High ATR ratio price levels often correlate with high volatility. Low ATR ratio price correlates with low volatility, as the prices stabilize or move along the channel flat movement up to the possible breakout point.

The indicator itself does not submit sufficient amount of signals and must be used together with other indicators. Volatility movements happen in the direction of a trend. Like moving averages systems, volatility systems for trend markets will not work well during a flat.

This indicator was first implemented in MQL4 and published in Code Base at 08.08.2006.


ATR ratio indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.

Closed_LOSS Closed_LOSS

Closure of all positions with a loss. (You can indicate a specific instrument if you want to).