Trading robot ยท MT5

Phase 404 EA

by Musyimi97

Phase 404 EA is a MetaTrader 5 robot that automates a mechanical Smart Money Concepts strategy including Wyckoff logic and liquidity sweeps.

GitHub stars14
Forks7
Last update5 months ago7 Apr 2026
LicenceMIT

Overview

Phase 404 EA identifies market structure shifts and enters trades during London or New York kill zones using Fibonacci Optimal Trade Entry levels. The expert advisor manages risk through percentage-based position sizing, maximum daily loss and profit limits, and a cap on trades per day. It includes automated trade management features such as break-even triggers, partial closures at fixed reward ratios, and targeting opposite liquidity levels.

Details

Author

Musyimi97 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action

Markets

Forex

Timeframes

M1-M5, M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Topics

forexmql5mt5order-blockspine-scriptsmart-moneytechnical-analysistradingtradingviewwyckoff

Input parameters

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

NameTypeDefaultDescription
RiskPercentdouble1.0Risk % per trade
MaxDailyLossPctdouble3.0Max daily loss % before EA stops
MaxDailyProfitPctdouble6.0Max daily profit % โ€” stop trading
MaxTradesPerDayint3Max trades per day
MinLotSizedouble0.01Minimum lot size
MaxLotSizedouble10.0Maximum lot size
SwingLookbackint10Bars to detect swing high/low
LiqLookbackint50Bars to scan for BSL/SSL
SweepBufferdouble5.0Pips buffer for liquidity sweep confirm
MSSLookbackint5Bars for MSS swing detection
OTE_Highdouble0.618OTE upper Fib level
OTE_Lowdouble0.786OTE lower Fib level
Show all 36 inputs
NameTypeDefaultDescription
EQ_Leveldouble0.500Equilibrium level
MagicNumberint404EA Magic Number
Slippageint3Max slippage in points
UseKillZonesbooltrueOnly trade during kill zones
UseLondonKZbooltrueTrade London Open KZ
UseNYKZbooltrueTrade NY Open KZ
LondonKZ_Startint2London KZ start hour (NY time)
LondonKZ_Endint5London KZ end hour (NY time)
NYKZ_Startint7NY KZ start hour (NY time)
NYKZ_Endint10NY KZ end hour (NY time)
SL_BufferPipsdouble3.0Extra buffer beyond structure SL (pips)
UseBreakEvenbooltrueMove SL to break even
BreakEvenTriggerdouble1.5RR ratio to trigger break even
UseTrailStopboolfalseEnable trailing stop
TrailStopPipsdouble15.0Trailing stop distance (pips)
UsePartialClosebooltrueClose 50% at TP1
TP1_RRdouble1.5TP1 Risk:Reward ratio (partial close)
TP2_LiquiditybooltrueTP2 = opposite liquidity level
ShowDashboardbooltrueShow info panel
ShowStructurebooltrueDraw structure on chart
BullColorcolorclrLime
BearColorcolorclrRed
OTEColorcolorclrDodgerBlue
LiqColorcolorclrGold

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Musyimi97/phase404 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

EA Scalper XAUUSD

by francomascareloai
236 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

My Trading Bot

by carlosrod723
77 stars

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot

ICT Gold EA

by darula-hpp
36 stars

This automated trading system for MetaTrader 5 focuses on spot Gold using Inner Circle Trader methodology. It identifies entries through order block detection, market structure analysis, and weekly opening price levels. The strategy is further filtered by dual moving averages and specific trading sessions, primarily Lo

MT5 Trading robot SMC / ICT / price actionIndicator crossoverTrend following
Updated 11 months ago None stated GitHub repository of ICT Gold EA

Fvg Gold EA

by foeed
34 stars

Fvg Gold EA is an automated trading robot for MetaTrader 5 designed specifically for the gold market. It utilizes institutional trading concepts by identifying high-probability Fair Value Gaps with Order Block confluence. The system employs a scoring algorithm to evaluate trade quality based on displacement, gap size,

MT5 Trading robot SMC / ICT / price actionIndicator crossover
Updated 5 days ago MIT GitHub repository of Fvg Gold 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