Collection · MT5

Shakuni Trap

by vedkanani123

Shakuni Trap is a MetaTrader 5 research laboratory focusing on systematic gold trading.

GitHub stars1
Forks0
Last update4 weeks ago23 Aug 2026
LicenceNone stated

Overview

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.

Details

Input Parameters

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

NameTypeDefaultDescription
InpMagiclong26081801
InpDeviationPointsint40
InpCommentstringOSR
InpAllowLongbooltrue
InpAllowShortbooltrue
InpDebugboolfalse
InpRiskPercentdouble1.0
InpMaxLossFracdouble0.10
InpDailyLossPercentdouble3.0
InpMaxDrawdownPercentdouble10.0
InpFlattenOnDailyLossboolfalse
InpMaxTradesPerDayint6
Show all 40 inputs
NameTypeDefaultDescription
InpCooldownBarsint8
InpStopATRdouble2.50
InpHtfStopFracdouble0.70floor SL with HTF ATR (M1/M5)
InpTpATRdouble3.00
InpUseTrailbooltrue
InpTrailActivateRdouble1.00
InpTrailATRdouble1.20
InpTimeStopBarsint48
InpTimeStopMinRdouble0.20
InpFlattenFridaybooltrue
InpFridayFlattenHourint21
InpHtfEmaPeriodint21
InpHtfNeedSlopeboolfalse
InpATRPeriodint14
InpEmaPeriodint21
InpDonchianBarsint3
InpBodyATRdouble0.04
InpBreakATRdouble0.00
InpPullbackATRdouble1.20
InpRequireBothboolfalsetrue = old rare AND
InpMaxExtHtfATRdouble2.50vs HTF EMA / HTF ATR
InpShockATRdouble3.20
InpUseRegimeFilterboolfalse
InpADXPeriodint14
InpAdxEnterdouble16.0
InpUseAdrFilterboolfalse
InpAdrMaxFracdouble0.95
InpAdrDaysint20

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone vedkanani123/shakuni_trap from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

3 stars

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

MT5 Collection Mean reversionBreakoutTrend following
1 stars

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

MT5 Collection Trend followingBreakoutScalping
Updated 2 years ago None stated GitHub repository of MQL5 Bots Collection

FINS QQQ Development

by atanasvasilevjourney
1 stars

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

MT5 Collection BreakoutMean reversionScalping
Updated 7 months ago None stated GitHub repository of FINS QQQ Development

NetAlgo EA Collection

by santiago-cruzlopez
56 stars

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

MT5 Collection Trend followingScalpingMartingale High risk
49 stars

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

MT5 Collection ScalpingTrend followingBreakout High risk
Updated 2 months ago Custom licence GitHub repository of Frontline MT5 Strategy Collection

Gold Pro Scalper

by n30dyn4m1c
15 stars

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-

MT5 Collection Mean reversionBreakoutScalping

More collections

Need a Broker for MT5?

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

Compare brokers