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 timeframe trends. Risk management is a core focus, incorporating ATR-based stop losses, trailing stops, and hard daily loss limits. The repository documents various experiments, including versions that explore dollar-cost averaging and different indicator filters. It provides comprehensive risk controls like maximum drawdown caps and trade cooldown periods.
Read from XAUUSD_ONESHOT_RESEARCH.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagic
long
26081801
InpDeviationPoints
int
40
InpComment
string
OSR
InpAllowLong
bool
true
InpAllowShort
bool
true
InpDebug
bool
false
InpRiskPercent
double
1.0
InpMaxLossFrac
double
0.10
InpDailyLossPercent
double
3.0
InpMaxDrawdownPercent
double
10.0
InpFlattenOnDailyLoss
bool
false
InpMaxTradesPerDay
int
6
Show all 40 inputs
Name
Type
Default
Description
InpCooldownBars
int
8
InpStopATR
double
2.50
InpHtfStopFrac
double
0.70
floor SL with HTF ATR (M1/M5)
InpTpATR
double
3.00
InpUseTrail
bool
true
InpTrailActivateR
double
1.00
InpTrailATR
double
1.20
InpTimeStopBars
int
48
InpTimeStopMinR
double
0.20
InpFlattenFriday
bool
true
InpFridayFlattenHour
int
21
InpHtfEmaPeriod
int
21
InpHtfNeedSlope
bool
false
InpATRPeriod
int
14
InpEmaPeriod
int
21
InpDonchianBars
int
3
InpBodyATR
double
0.04
InpBreakATR
double
0.00
InpPullbackATR
double
1.20
InpRequireBoth
bool
false
true = old rare AND
InpMaxExtHtfATR
double
2.50
vs HTF EMA / HTF ATR
InpShockATR
double
3.20
InpUseRegimeFilter
bool
false
InpADXPeriod
int
14
InpAdxEnter
double
16.0
InpUseAdrFilter
bool
false
InpAdrMaxFrac
double
0.95
InpAdrDays
int
20
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone vedkanani123/shakuni_trap 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.
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 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
This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu
This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul
This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. 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-