The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-strategy version that incorporates Donchian channel breakouts. Risk controls are extensive, featuring fixed stop losses, ATR-based trailing, news filters, and a daily equity loss limit. Trade execution is managed through session windows, position limits, and post-loss cooldown periods.
Z-Score statistical entry and exit thresholds
Dynamic equity-based risk management tiers
High-impact news filter and automated pre-news closing
Z-Score exit threshold (close when Z returns near 0)
InpTrailingATR
double
2.0
ATR multiplier for trailing
InpMinProfitBuffer
double
50.0
Minimum profit buffer in points before breakeven triggers
InpStartHour
int
10
Trade window start hour
InpEndHour
int
20
Trade window end hour (exclusive)
InpFridayCloseHour
int
20
Friday hour to close and stop
Show all 29 inputs
Name
Type
Default
Description
InpMaxHoldMinutes
int
30
Max trade duration in minutes
InpCooldownMins
int
10
Pause after a losing trade, minutes (0 = disabled)
InpMagic
int
777333
Magic number
InpMAPeriod
int
20
MA / StdDev period
InpATRPeriod
int
14
ATR period
InpFilterPeriodH1
int
50
H1 SMA period for trend filter (0 = disabled)
InpADXPeriod
int
14
ADX period
InpADXMax
double
25.0
Skip entries when ADX above this (0 = disabled)
InpSlippage
int
30
Max slippage in points
InpMaxSpreadPts
double
50.0
Max allowed spread in points
InpMaxPositions
int
1
Max open positions allowed
InpUseNewsFilter
bool
true
Enable news time filter
InpNewsMinsBefore
int
60
Minutes to pause BEFORE red-folder news
InpNewsMinsAfter
int
120
Minutes to pause AFTER red-folder news (washout buffer)
InpCloseBeforeNews
bool
true
Close open trades before red-folder news
InpUseDailyLossLimit
bool
true
Enable max daily loss stop
InpMaxDailyLossPct
double
20.0
Max daily loss % of balance (stops trading)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone n30dyn4m1c/gold-pro-scalper 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.
This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated
A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse
MT5CollectionMean reversionBreakoutTrend following
This repository contains a collection of MetaTrader 5 expert advisors created to test various trading concepts. The included bots trade diverse markets, utilizing indicators like moving averages, Bollinger Bands, Stochastic, and VWAP. The primary highlighted expert advisor executes trend-following trades on gold using
This repository provides a collection of expert advisors for MetaTrader 5, featuring various technical strategies. The primary implementation is the Trading Made Simple system, which utilizes Hull Moving Average crossovers, Heiken Ashi candles, and Stochastic filters to identify entry signals. Other included robots foc
This MetaTrader 5 repository contains a collection of expert advisors centered on opening range breakouts and statistical mean reversion. The primary breakout tool defines trading zones based on specific time intervals and executes trades using price bias or candle closes. It incorporates robust risk management feature
Shakuni Trap is a MetaTrader 5 research laboratory focusing on systematic gold trading. The collection features multiple Expert Advisors, with the primary OneShot version utilizing M1 to M5 timeframes. This strategy executes trades based on EMA bounces or Donchian Channel breakouts, requiring alignment with higher time