Framework & template · MT5

ICT Library MQ5

by xxvw

This MetaTrader 5 library and expert advisor automates Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies.

GitHub stars205
Forks4
Last updateyesterday21 Sep 2026
LicenceMIT

Overview

ICT Library MQ5 identifies market structure shifts, breaks of structure, order blocks, and liquidity zones. The system features a confluence-based entry mechanism that evaluates signals against kill zones, volatility filters, and currency strength. While it functions as a trading robot, it also provides a framework to export market data to JSON for external analysis. Risk management includes percentage-based lot sizing and maximum spread limits.

Details

Author

xxvw on GitHub

Type

Framework & template

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action

Markets

Forex

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

metatrader5mql5mql5-apimql5-strategyquantforexmt5mt5-apimt5-botmt5-ea

Input parameters

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

NameTypeDefaultDescription
InpRiskPercentdouble1.0リスク率 (%)
InpMaxSpreadPipsdouble3.0最大スプレッド (pips)
InpMinConfluenceint3最小コンフルエンス要因数
InpMinScoredouble0.5最小コンフルエンススコア
InpEnableKillZoneFilterbooltrueキルゾーンフィルター有効
InpEnableCurrencyStrengthFilterboolfalse通貨強弱フィルター有効
InpEnableVIXFilterbooltrueVIXフィルター有効
InpMagicNumberint20260209マジックナンバー
InpSwingPeriodint5スイング期間
InpGMTOffsetint2GMTオフセット
InpEnableDashboardbooltrueダッシュボード表示

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone xxvw/ICT_Library_MQ5 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, and any .mqh files into the Include folder the code expects.
  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

27 stars

This MetaTrader 5 expert advisor serves as a foundational template for building automated trading systems. The README is minimal, but the code provides a structured framework for beginners to implement custom entry and exit logic using price data and technical indicators. It includes examples of Exponential Moving Aver

MT5 Framework & template Indicator crossoverSMC / ICT / price action

Mql5 Pro

by hushamQA
3 stars

Mql5 Pro is a comprehensive development framework and template collection for MetaTrader 5, specifically optimized for AI-assisted coding and Pine Script conversion. It provides standardized structures for creating Expert Advisors, custom indicators, and graphical user interfaces. The system includes built-in risk mana

MT5 Framework & template SMC / ICT / price actionMulti-strategy
Updated 2 months ago None stated GitHub repository of Mql5 Pro
2 stars

This MetaTrader 5 framework provides a modular library for technical analysis, including candle pattern detection, support and resistance levels, and Fibonacci calculations. The repository includes an expert advisor that implements ZigZag-based wave analysis to identify market structure and chart patterns. It features

MT5 Framework & template SMC / ICT / price actionTrend followingMartingale High risk

Entegra MQL Templates

by EntegraMACHINE
1 stars

This collection of MetaTrader 5 tools focuses on automated market structure analysis and Smart Money Concepts. It provides modular templates for detecting swing points, identifying Breaks of Structure (BOS), and mapping price action across multiple timeframes. The codebase includes logic for Fair Value Gaps and Premium

MT5 Framework & template SMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Entegra MQL Templates
1 stars

This MetaTrader 5 expert advisor serves as an educational framework for developing trading robots using object-oriented programming. It demonstrates how to organize trading logic into modular classes for symbol handling, order execution, and strategy management. The EA incorporates two distinct price action strategies

MT5 Framework & template SMC / ICT / price actionHedging

Ultimate ICT Gold Scalper

by srinivashacks
1 stars

Ultimate ICT Gold Scalper is a modular expert advisor framework for MetaTrader 5, primarily focused on gold trading using institutional concepts. It provides a robust risk management foundation, including daily, weekly, and monthly drawdown limits and maximum consecutive loss protections. The system handles position ma

MT5 Framework & template SMC / ICT / price actionScalping
Updated 2 months ago None stated GitHub repository of Ultimate ICT Gold Scalper

More frameworks and templates

Need a broker for MT5?

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

Compare brokers