RSI midline cross
The 50 level splits the RSI scale in two: above it buyers control the market, below it sellers do. The robot enters when RSI crosses the middle and flips on the opposite cross.
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 crosses 50 upward.
When it sells
RSI crosses 50 downward.
When it exits
A buy closes when RSI drops below 50; a sell closes when it rises above it.
Screenshot 1 of 5
The conditions as constructor blocks
Open a buy
Open a sell
Close a buy
Close a sell
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.
| Input | Default | What it means |
|---|---|---|
| InpRSI_Main_period | 14 | RSI period: how many recent candles it takes into account. |
| RSI_Middle | 50 | The middle of the scale: above it the robot buys, below it sells. |


How to tune the robot to your style
- Move the middle level: at 55 the robot sells more often, at 45 it buys more often.
- Increase the RSI period — there will be fewer signals, and they will be calmer.
- Compare it with the 30/70 robot: there RSI looks for a reversal, here for the side of the market.
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.