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

2016.04.14 10:28

NRTR - indicator for MetaTrader 5

| English 日本語 Deutsch Русский 中文

votes: 16
nrtr.mq5 (9.96 KB)view

Real author:



NRTR is a trend indicator calculated using the CLOSE prices. The indicator is always located at the same distance from the reached extreme price. For an uptrend, it is displayed below the chart; for the downtrend — above. The meaning of this distance is to filter small corrective movements counter to the main trend. A stronger movement counter to the main trend above the preset level (the size of the moving filter) signals the complete trend reversal.

For an uptrend:

NRTR = Highest(Close, period)*(1-(K/100)),

For a downtrend:

NRTR = Lowest(Close, period)*(1+(K/100)),

where the first part of the expression is the highest/lowest extreme price reached since the last intersection of the indicator and the prices, K is the size of the moving filter in percentage terms, i.e. the distance between the indicator and reached extreme values.

Like any other simplified approach, this indicator works well in trending market, but may fail in non-trend periods.

Read more about the properties and versions of the indicator in the article "Trend indicator of dynamic price channel breakthrough" by Konstantin Kopyrkin (in Russian).

This indicator was first implemented in MQL4 and published in CodeBase at on 13.07.2006.


Fig.1. The NRTR indicator

Fig.1. The NRTR 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.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.