Trading robot · MT5

Price Action Engulfing Zone EA

by vatsasr8846

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe.

GitHub stars6
Forks0
Last updateyesterday21 Sep 2026
LicenceMIT

Overview

Price Action Engulfing Zone EA identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle patterns at swing points and waits for a price retest to enter. It includes automated lot sizing based on balance, fixed stop loss and take profit at a one-to-one ratio, and spread filtering.

Details

Author

vatsasr8846 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, SMC / ICT / price action, Scalping

Markets

Gold

Timeframes

M1-M5

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

analysisanimal-crossingconcept-videoexpert-advisorhtmlllmlstmlstm-neural-networksmql5price-action

Input parameters

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

NameTypeDefaultDescription
InpManualLotSizedouble0.0Manual Lot Size (0 = Auto)
InpLotPer1000double0.04Lot Size per $1,000 Balance (Auto mode)
InpMaxLotSizedouble2.0Maximum Lot Size
InpMinLotSizedouble0.01Minimum Lot Size
InpSLBufferPointsint50SL Buffer Beyond Zone (Points)
InpSwingLookbackint3Swing Point Lookback (candles each side)
InpTrendSwingCountint4Swing Points for Trend Evaluation (minimum 3)
InpZoneExitCandlesint3Min Candles Outside Zone Before Retest
InpInvalidateZonebooltrueInvalidate Zone on Opposite Close-Through
InpMagicNumberint202507Magic Number
InpMaxSlippageint30Maximum Slippage (Points)
InpMaxSpreadPointsint50Maximum Spread (Points)
Show all 15 inputs
NameTypeDefaultDescription
InpShowZonesbooltrueDraw Zone Rectangles on Chart
InpBullZoneColorcolorclrDodgerBlueBullish Zone Color
InpBearZoneColorcolorclrOrangeRedBearish Zone Color

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone vatsasr8846/PriceAction-EngulfingZone-EA 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
237 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

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 9 months ago None stated GitHub repository of Prop Firm EA Fleet

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

CRT TBS Gold Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles. It identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specifi

MT5 Trading robot SMC / ICT / price actionScalpingTrend following

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot

Funded EA

by Pusparaj99op
2 stars

Funded EA is a MetaTrader 5 robot designed to help users pass proprietary firm challenges by automating trade execution and risk management. It implements a Smart Money Concepts strategy, targeting XAUUSD by detecting order blocks and liquidity sweeps. The system features a calibration engine that calculates lot sizes

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 5 months ago Unlicense GitHub repository of Funded 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