RSX range expansion index – with confidence bands – indicator MetaTrader 5

Range Expansion Index (REI) definition :

Range Expansion Index (REI) is an oscillator that measures price changing rate and signals about overbought/oversold areas, in case a price shows weakness or strength. It was developed by Thomas DeMark and described in his book “The New Science of Technical Analysis”.

The indicator values change from -100 up to +100. REI is an enhanced oscillator, as it stays neutral during a flat and shows trends only when considerable top or bottom have been reached.

This version :

This version is made according to Mark Jurik’s idea : according to him, REI can be made as rsx(high) + rsx(low) – and the result should be much smoother. So, this version is doing exactly that.

Also, this version is adding a bit modified confidence bands in order to make the trend changes spotting easier (some more information on confidence bands you can find here : Confidence and prediction bands). One parameter needs an explanation – the confidence bands shift :

It is the number of bars that the bands are shifted in order to provide usable crosses of REI value and confidence bands. Without it, the results would be illogical, and that is the reason why the indicator limits the minimal shift to +1. The greater the shift, the more the bands are shifted but some experimenting is recommended (mild shifting is producing quite good results)

You have an option to chose between two color changing modes :

Alternative:  VR Orders History MT5 Lite - script MetaTrader 5
  • color change when outer levels are crossed
  • color change when middle level (a sort of a “zero line”) is crossed – that is the default mode

Usage :

In this version use color changes change as potential trend start and end signals


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks