Trading robot · MT5

Gann Bot

by avangardistic

This automated expert advisor for MetaTrader 5 executes trades based on Gann Box analysis, identifying entries at dynamic support and resistance levels.

High risk

GitHub stars1
Forks1
Last update2 months ago27 Jun 2026
LicenceNone stated

Overview

Gann Bot features advanced risk controls including hard stop loss, take profit, and a trailing stop. The EA provides four capital management modes: fixed lot size, risk percentage per trade, the Kelly Criterion, and anti-martingale lot scaling. Account protection is enforced through daily loss limits and a cap on consecutive losing trades. It requires a separate custom indicator to function.

Details

Author

avangardistic on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Mean reversion, Trend following, Martingale

Markets

Forex, Gold, Indices

Timeframes

M15-H1, H4 and above

Risk profile

  • Uses martingale lot scaling: losses can grow fast

EA files

Topics

forexmetatrader5mql5-strategybotgann

Input parameters

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

NameTypeDefaultDescription
MoneyManagementintMM_RISK_PERCENT0=Fixed,1=Risk%,2=Kelly,3=AntiMartingale
FixedLotdouble0.1حج?
RiskPercentdouble2.0درصد ریسک از سر?
StopLossint300حد ضرر (نقطه)
TakeProfitint600حد سود (نقطه)
MagicNumberint12345ش?
MaxDailyLossdouble5.0حداکثر ضرر روزانه (%)
MaxConsecutiveLossesint3حداکثر ضرر ?
UseTrailingStopbooltrueاستفاده از تریلینگ استاپ
TrailingStartint200شروع تریلینگ (نقطه)
TrailingStepint30گا?
GannTimeframeENUM_TIMEFRAMESPERIOD_H4تای?
Show all 13 inputs
NameTypeDefaultDescription
Slippageint30سلیپیج (نقطه)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone avangardistic/Gann-mql5-bot 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

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA

Nolo Trading Bot

by festomanolo
4 stars

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

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot
4 stars

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

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

Bakome Trinity EA

by BAKOME-Hub
1 stars

This multi-asset MetaTrader 5 expert advisor is designed for gold, forex, and cryptocurrency markets, specifically XAUUSD, GBPUSD, and BTCUSD. It focuses on a single-position approach, explicitly avoiding grid or martingale techniques. Trade entries are managed through session filters for London and New York and are pr

MT5 Trading robot Trend followingMean reversionMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Trinity EA

More trading robots

Need a broker for MT5?

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

Compare brokers