Trading robot · MT4

RSI MA Combo EA

by trinity56

This MetaTrader 4 expert advisor combines the Relative Strength Index, Moving Average, and Average Directional Index to identify trend-following entries.

GitHub stars1
Forks0
Last update11 months ago4 Oct 2025
LicenceMIT

Overview

The strategy executes trades when price positioning relative to the moving average aligns with RSI exhaustion levels and ADX trend strength. It includes built-in risk management tools such as a daily profit and loss limit that pauses trading for a set duration, alongside standard stop loss and take profit orders. Trade management is handled via trailing stops, break-even adjustments, and a dynamic exit based on signal reversals.

Details

Author

trinity56 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Mean reversion

Markets

Any symbol

Timeframes

M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from RSI_MA_Combo_EA.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
LotSizedouble0.01
RSI_Periodint14
RSI_Buy_Levelint30
RSI_Sell_Levelint70
MA_Periodint25
StopLossPipsint20
TakeProfitPipsint40
UseTrailingStopbooltrue
TrailingStartint5in pips
TrailingStepint2in pips
UseBreakEvenbooltrue
BreakEvenTriggerint8in pips
Show all 27 inputs
NameTypeDefaultDescription
BreakEvenOffsetint1in pips
UseTimeFilterbooltrue
TradeStartHourint8
TradeEndHourint18
UseADXFilterbooltrue
ADX_Periodint14
ADX_Minimumint20
UseDailyLimitbooltrueenable daily pause feature
DailyProfitTargetdouble10.0USD profit to trigger pause
DailyLossLimitdouble10.0USD loss to trigger pause
PauseDurationHoursint4hours to pause when triggered
UseDynamicExitbooltrueClose early on opposite signal
ConfirmBarsint2Number of consecutive opposite bars to confirm reversal
ADXExitThresholddouble20.0Minimum ADX strength to allow exit
MagicNumberint12345Added Magic Number for safe order management

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone trinity56/rsi-ma-combo-ea from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive

Ubot

by kudzaiprichard
15 stars

Ubot is an automated trading system for MetaTrader 4 that utilizes the Traders Dynamic Index (TDI) indicator to execute market entries. It identifies specific technical patterns described as sharkfin and squeeze setups to determine trend direction and volatility. The expert advisor features advanced trade management to

MT4 Trading robot Trend followingMean reversion
Updated 2 years ago Custom licence GitHub repository of Ubot

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA
11 stars

This MetaTrader 4 expert advisor automates trading by combining the Relative Strength Index (RSI) with Ichimoku Kumo signals. It scans every instrument listed in the Market Watch window to identify entries across multiple pairs simultaneously. The robot includes a built-in spread filter to avoid high-cost executions an

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of RSI Ichimoku Trader Bot
10 stars

This MetaTrader 4 expert advisor implements a reversal and trend-following strategy based on SOMAT3 and IRC Triplets indicators. It evaluates price action across consecutive bars to identify entries and offers an optional trend filter for signal validation. The system manages risk using fixed lot sizing, initial stop l

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of PhD Appsolute System

OwaisQuadri MT4 Code

by OwaisQuadri
6 stars

This MetaTrader 4 expert advisor executes trades based on momentum oscillators, trend filters, and price action patterns. It utilizes a Stochastic oscillator alongside multiple Exponential Moving Averages to identify entry points in alignment with the prevailing trend. The logic incorporates candlestick analysis, speci

MT4 Trading robot Indicator crossoverTrend followingMean reversion
Updated 6 years ago None stated GitHub repository of OwaisQuadri MT4 Code

More trading robots

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers