Mean Reversion Gap EA utilizes an ATR-based volatility filter to enter trades during low volatility periods and confirms entries with RSI momentum patterns. The system manages risk using fixed dollar amounts per trade, ATR-derived stop losses, and dynamic trailing stops. Specifically designed for prop firm compliance, it includes daily loss limits, maximum drawdown protection, and a session timer to control trading hours across twelve different instruments.
Multi-symbol trading for forex, crypto, indices, and metals
ATR-based volatility and RSI momentum confirmation filters
Fixed dollar risk management with dynamic position sizing
Read from Mean Reversion Prop Firm EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
RiskPerTrade
double
50
Fixed $ risk per trade
RiskRewardRatio
double
5
Risk/Reward ratio
StopLossATRFactor
double
1.5
SL ATR Multiplier
TrailingStopATRFactor
double
1.0
Trailing SL ATR Multiplier
OrderExpirationBars
int
5
Bars until limit order expires
MinLotSize
double
0.01
Minimum lot size
MaxLotSize
double
1.0
Maximum lot size
MinMaGap
double
0.6
Min MA Gap (%)
Ma1Period
int
360
Fast MA Period
Ma2Period
int
20
Slow MA Period
Atr1Period
int
10
Fast ATR Period
Atr2Period
int
20
Slow ATR Period
Show all 30 inputs
Name
Type
Default
Description
RsiPeriod
int
20
RSI Period
EnableBuy
bool
true
Enable Buy Trades
EnableSell
bool
true
Enable Sell Trades
MaxTradesPerSymbolTF
int
1
Max trades per symbol/timeframe
MaxGlobalTrades
int
15
Max simultaneous trades
MinBarsBetweenTrades
int
5
Min bars between trades
LimitOrderDistance
double
2.0
Pips from market for limit orders
EnableSession
bool
true
Enable Trading Session
SundayOpen
int
22
Sunday Open Hour (22:15)
SundayOpenMin
int
15
Sunday Open Minute
DailyClose
int
21
Daily Close Hour (21:45)
DailyCloseMin
int
45
Daily Close Minute
DailyMaxLoss
double
500
Max daily loss ($)
DailyProfitTarget
double
1000
Daily profit target ($)
MaxDrawdownPercent
double
5.0
Max account drawdown (%)
MaxSpreadMultiplier
double
3.0
Max spread multiplier
EnableTradeJournal
bool
true
Enable trade logging
JournalFileName
string
TradeJournal.csv
Journal filename
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Xtley001/Mean-Reversion-Gap-EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l
This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v
This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem
This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol
This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ
MT5Trading robotIndicator crossoverMean reversionTrend following