Trading robot · MT5

Price Action Bot

by logiccrafterdz

Price Action Bot is a technical Expert Advisor for MetaTrader 5 that executes trades based on market structure shifts, specifically Break of Structure (BOS) and Change of Character (CHoCH) signals.

GitHub stars1
Forks0
Last update1 year ago28 Aug 2025
LicenceMIT

Overview

Price Action Bot supports two entry modes: waiting for a price retest of broken levels or entering immediately on a breakout candle close. The EA includes comprehensive risk management with dynamic lot sizing based on account percentage, dual partial take-profit levels, break-even triggers, and trailing stops. A news filter pauses trading during specified times to avoid high volatility.

Details

Author

logiccrafterdz on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Breakout, Trend following

Markets

Forex, Gold

Timeframes

Any timeframe

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

algorithmic-tradingautomationforexmetatrader5mql5price-actiontechnical-analysistrading-bot

Input parameters

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

NameTypeDefaultDescription
LotSizedouble0.1حج?
RiskPercentdouble2.0نسبة ال?
MagicNumberint123456رق?
SlippagePointsint3الانزلاق بالنقاط
MinCandleBodyRatiodouble0.2نسبة جس?
LookbackPeriodint20فترة البحث عن الق?
MaxSwingPointsint10عدد النقاط ال?
UsePartialTPbooltrueاستخدا?
TP1_Ratiodouble1.0نسبة الهدف الأول
TP2_Ratiodouble2.0نسبة الهدف الثاني
AvoidNewsbooltrueتجنب التداول أثناء الأخبار
NewsHoursstring08:30,10:00,14:30,16:00أوقات الأخبار
Show all 22 inputs
NameTypeDefaultDescription
EnableVerboseLoggingbooltrueتفعيل التسجيل التفصيلي
SkipRetestboolfalseتجاوز إعادة الاختبار والدخول ?
EntryModeEntryModeEnumENTRY_RETESTوضع الدخول: Retest أو BreakoutClose (الدخول ال?
RetestTolerancePointsdouble5.0ها?
NewsToleranceMinutesint15ها?
MinBreakDistancedouble10.0أقل ?
UseTrailingStopbooltrueاستخدا?
TrailingDistancedouble30.0?
UseBreakEvenbooltrueاستخدا?
BreakEvenTriggerdouble1.5نسبة تفعيل نقطة التعادل (أكثر تحفظًا)

How to install it

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

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

Fimathe EA

by yolisses
12 stars

Fimathe EA is a MetaTrader 5 robot designed to automate the Fimathe trading technique. It replaces manual channel drawing by analyzing a user-defined range of historical candles to determine reference channels and neutral zones. The system identifies price partitions and uses the median distance to set entry levels. Fo

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA

Ifvg London Breakout Algo

by 964quanyuan
3 stars

This Expert Advisor for MetaTrader 5 combines a London session breakout strategy with an Inverse Fair Value Gap (IFVG) trend continuation model. Designed for the EUR/USD M5 timeframe, it identifies price ranges during predefined morning hours to set pending breakout orders while simultaneously monitoring Smart Money Co

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of Ifvg London Breakout Algo

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

GoldForge ML

by pw4654918-jpg
2 stars

GoldForge ML is a MetaTrader 5 expert advisor specialized for gold trading on the M15 timeframe using a machine learning ensemble. It combines CatBoost, XGBoost, and LightGBM models via ONNX with Smart Money Concepts such as liquidity sweeps and order blocks. The EA manages risk through ATR-based stop losses, trailing

MT5 Trading robot AI / machine learningSMC / ICT / price actionTrend following
Updated 5 months ago None stated GitHub repository of GoldForge ML

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