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

2014.06.11 11:11

Random Walk Index - indicator for MetaTrader 5

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

votes: 26
rwi.mq5 (16.33 KB)view

Real author:


The Random Walk Index indicator is used in situations where it is necessary to determine whether the market instrument is in a developing trend or performs random motion in a trading range.

This indicator tries to do it by defining a trading range of the market instrument first. The next step is to calculate a series of RWI indices for a maximum of the analyzed period. The greatest movement of the index relative to RW is used as the current index. The market develops an uptrend, if RWI of highs > 1, while the downtrend is when RWI of lows > 1.

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

Figure 1. The RWI indicator

Figure 1. The RWI indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

ExMass_HTF ExMass_HTF

The ExMass indicator with the timeframe selection option available in input parameters.

ExMass ExMass

The ExMass indicator helps to evaluate market fluctuations.


The RWI indicator with the timeframe selection option available in input parameters.

CronexChaikin CronexChaikin

The MACD Indicator, in which the price series is replaced by the series of values of the Chaikin Oscillator technical indicator. It is drawn in the form of a colored cloud.