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

votes: 5
2018.07.13 15:36
Rex.mq5 (10.55 KB)view

TVB (True Value of Bar) gives an idea of how healthy the market is. Rex Oscillator is the moving average of the TVB values.

The oscillator Rex line becoming positive on the bearish market indicates the up-reversal.

Similarly, the negative value of the line on the bullish market indicates its down-reversal.

Moreover, the oscillator Rex and Signal lines can be used as warning signal.

The indicator has four configured parameters:

  • Rex period - oscillator line calculation period;
  • Rex method - oscillator line calculation method;
  • Signal period - signal line calculation period;
  • Signal method - signal line calculations method.


Rex = MA(TVB, Rex period, Rex method)
Signal = MA(Rex, Signal period, Signal method)


TVB = 3*Close - (Low + Open + High)

Translated from Russian by MetaQuotes Software Corp.
Original code:


PDI (Price Difference) is a simple signal indicator of the price difference between the previous and the current bars. It displays as signal marks the candlesticks, on which the previous Applied price is higher than the current one by the pre-defined Price difference.

Rj_SlidingRange_Cloud Rj_SlidingRange_Cloud

Indicator Rj_SlidingRange made in the DRAW_FILLING style as a color background, which makes it more illustrative in many situations.

Rj_SlidingRangeRj_Digit Rj_SlidingRangeRj_Digit

Channel indicator Rj_SlidingRangeRj with the possibility to round the indicator levels to the required number of digits.

Slingshot Slingshot

Oscillator Slingshot displays in the chart the price momentum histogram and signal line. The probable direction of the fitire price movement is marked in the histogram with different colors.