VR Rsi Robot is a multi-timeframe trading strategy - MetaTrader 5 Expert - MT4/MT5 Resources


VR Rsi Robot is an expert advisor for MetaTrader 5, built on the classic RSI (Relative Strength Index) indicator, but with a multi-timeframe approach. The core idea is to filter the signal received from the faster time frame (H1) and confirm it from the higher time frame (D1). This approach reduces the number of false entries and increases the likelihood of following a continuing trend. Experts will open a position only if both time frames present a consistent situation: RSI exits the overbought or oversold zone and is accompanied by dynamic confirmation (indicator rises or falls).
The conditions for entering the transaction are strictly regulated. For buying, it is required that on H1 and D1, the RSI value (based on completed candles) is above the oversold level (default 20), and the current RSI value is greater than the previous value, indicating the presence of an upward impulse. For selling, similarly: the RSI on both timeframes must be below the overbought level (80), and the current value must be smaller than the previous value, indicating a price decline. Using a full bar eliminates the repaint effect since the signal is formed after the candle has completed its formation.
Position management is implemented on a "one position per instrument" basis. Experts monitor open orders by their magic number. If a buy signal occurs when a sell position is opened, the sell position is closed and a buy position is opened. The same logic applies to sell signals. Therefore, the robot always either exits the market or is in a position in which the direction coincides with the recently generated signal.
An important feature is the automatic adjustment of trading volumes based on the broker's requirements. During initialization, the robot rounds the specified batch to the nearest allowed number step and checks that it is not smaller than the allowed minimum. This ensures correct operation of any account. Experts also use the standard CTrade and CPositionInfo classes for safe trading and position control. Overall, this strategy represents a simple and straightforward approach to RSI trading, based on confirming signals on longer time frames.
Attachment download
📎 VR_Rsi_Robot.mq5 (11.02 KB)
Source: MQL5 #70465
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •