Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Moving Average x Relative Strength Indicator EA - MetaTrader 5 Expert - MT4/MT5 Resources

author EAcpu | 7 reads | 0 comments |

Moving Average x Relative Strength Indicator EA - expert for MetaTrader 5

Moving Average x Relative Strength Indicator EA - expert for MetaTrader 5

Moving Average x Relative Strength Indicator EA - expert for MetaTrader 5

Moving Average x Relative Strength Indicator EA - expert for MetaTrader 5

The EA is built to demonstrate:

Dynamically adjust lot size based on account risk

Overbought/oversold entry conditions based on RSI

Trend filtering using moving averages

Stop loss and take profit levels are adjusted according to the trading instrument scale accuracy

This EA is especially useful for learners who are experimenting with technical strategies and want to understand how indicator processing, dynamic risk and broker number differences affect trading logic.

The EA operates with the following entry rules:

The current price is above the moving average (bullish)

RSI is below the oversold threshold (indicating price will rise)

Price is below the moving average (bearish)

RSI is above the overbought threshold (indicating that prices will fall)

Stop Loss and Take Profit are configured using _Point and adjusted based on the broker's pricing precision (_Digits).

Symbol : XAUUSD (gold)

Approximate time : M15 or H1

Broker : Any broker with correct quote data (tested for consistency among 2/3 and 4/5 brokers)

Backtesting range : 3-6 months recommended

Condition : Ensure tick data is available for reliable RSI/MA values

Function PipSize() helps to normalize pip values ​​between brokers with different _Digits.

The EA automatically calculates the lot size based on the current account balance and the defined risk.

The code is modular and can be easily extended with trailing stops, news filters or other conditions.

This project is an ongoing project and feedback is welcome!


Attachment download

📎 marsi_ea.mq5 (8.12 KB)

Source: MQL5 #60730

Verification code Refresh