<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap">

RSI 30/70

RSI shows how far price has run in one direction. Below the 30 level the market is considered oversold, above the 70 level overbought. The robot waits for RSI to come back from such a zone and enters on the turn.

  • RSI
  • Basic

Choose a platform: MT5 shows the chart and Inputs screenshots from MetaTrader 5, MT4 shows the chart with entries and the Inputs screenshot from MetaTrader 4.

How the robot trades

When it buys

RSI rises back above the oversold level.

When it sells

RSI falls back below the overbought level.

When it exits

A buy closes when RSI reaches the middle level or higher; a sell closes when RSI reaches it or lower.

Screenshot 1 of 5

EURUSD, H4. The robot indicators and the deals from the MT5 strategy tester: arrows are entries, crosses are exits, and the lines join an entry to its exit.

The conditions as constructor blocks

Open a buy

(RSI ≥ RSI_Oversold (30))
AND
(RSI_Prev < RSI_Oversold (30))

Open a sell

(RSI ≤ RSI_Overbought (70))
AND
(RSI_Prev > RSI_Overbought (70))

Close a buy

(RSI ≥ RSI_Middle (50))

Close a sell

(RSI ≤ RSI_Middle (50))

Inputs

These inputs appear in the expert advisor settings in MetaTrader 5 or MetaTrader 4, and they are what the strategy tester goes through when it optimises the robot.

InputDefaultWhat it means
InpRSI_period14RSI period: how many recent candles it takes into account.
RSI_Oversold30Oversold level: below it the market is considered to have fallen too far.
RSI_Overbought70Overbought level: above it the market is considered to have risen too far.
RSI_Middle50Middle level at which the robot closes the trade.
The inputs dialog of the RSI 30/70 expert advisor in MetaTrader 5. Screenshot 1 of 2The inputs dialog of the RSI 30/70 expert advisor in MetaTrader 5. Screenshot 2 of 2
This is how the expert's inputs look in MetaTrader 5

How to tune the robot to your style

  • Move the entry levels, for example to 20 and 80, and watch how the number of signals changes.
  • Change the RSI period: a short one reacts faster, a long one gives fewer false signals.
  • Add a moving average filter so the robot trades only in the direction of the broader move.
  • Pick the middle exit level that suits your trading style.

You can do all of this in the constructor without signing up. To save your changes and come back to them later, you need an account.

Risks

How a strategy behaved in the past does not predict its future results. Check the robot in the strategy tester and on a demo account first, and only then decide whether to trade it with real money. This robot is an example to adapt to your instrument, timeframe and risk rules.

Similar robots