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

Renko Line Break vs RSI EA - expert for MetaTrader 5

2013.08.05 22:16
2016.11.22 07:32

The idea is quite simple - Renko Line Break determines the direction of the trend, and then, on the rollback of the trend place a stop order based on the signal of RSI. Here is an example:

  • Renko Line Break tells you that you are in an uptrend;
  • if the RSI moves down into the oversold area, place a buy stop above the bar maximum. A stop loss a few pips below the lowest minimum of the last three bars, and a take profit in accordance with the parameter set by a trader;
  • if the order does not trigger, and on the next bar RSI is still in oversold, delete the previous order and place a new order;
  • if the the buy stop triggers, the position will be closed either by a stop loss, or on a trend reversal detected by Renko Line Break, or by a take profit, or if the RSI enters the overbought area;
  • if the buy stop does not work and Renko Line Break changes the trend direction, then delete the order.

Set up:

  • Download the Renko Line Break indicator into the folder MetaTrader 5\MQL5\Indicators;
  • download the EA file to MetaTrader 5\MQL5\Experts.


  • Min Box Size - the minimum size of the indicator box;
  • RSI Period - the period of RSI;
  • RSI Vertical Shift - a vertical shift of the overbought/oversold areas. Added/subtracted from 50. For example, if the parameter is 20, the overbought area is above 70 and the oversold area is below 30. If the parameter is 30, the overbought area is above 80 and the oversold area is below 20;
  • Take Profit - the value of take profit;
  • Indent From High/Low - Distance from the bar extremes for placing stop orders and stop losses;
  • Volume - position volume in lots.

A test example on EURUSD H4 from January 2012 (in the attached file).

a) Example of trades:

EURUSD H4 Renko Line Break vs RSI EA Trades Chart

b) Test chart:

EURUSD H4 Renko Line Break vs RSI EA test chart

Translated from Russian by MetaQuotes Ltd.
Original code:

RoundLevels RoundLevels

The RoundLevels indicator draws two closest "round" levels above the current price and two more below it

DeMarker_HTF DeMarker_HTF

DeMark's oscillator with an option of setting a fixed timeframe for the calculation of the indicator in the input parameters.

FiboPivot_V2 FiboPivot_V2

A pivot with Fibo levels on the basis of daily candlesticks

TrendChannel TrendChannel

The indicator draws two trend lines for the closest price extremes