Articles, Library comments - page 2

OHLCMTF Scalper EA - Multi-Timeframe Price Action : A strict Multi-Timeframe Price Action Expert Advisor that trades based on precise OHLC conditions across different timeframes simultaneously. It features pending order entries, role reversals, and dynamic risk management without using any lagging
Institutional GARCH(1,1) Volatility Forecaster : A predictive quantitative engine that replaces lagging retail ATR, it utilizes the Nobel-prize-winning GARCH(1,1) econometric model to mathematically forecast future market volatility and variance. Author: Amanda Vitoria De Paula Pereira
Institutional Gaussian Signal Filter (Zero-Lag ALMA) : A quantitative Gaussian filter designed to replace lagging retail moving averages by applying advanced digital signal processing to eliminate market noise without sacrificing responsiveness. Author: Amanda Vitoria De Paula Pereira
Check out the new article: Building a Divergence System (Part II): Adaptive SuperTrend Custom Indicator . The article upgrades SuperTrend by integrating a divergence engine (MPO4 or RSI) the dynamically reduces the ATR multiplier during weakening momentum. It covers the shrinking formula
Check out the new article: Implementing a Circular Buffer Class in MQL5: Fixed-Memory Rolling Windows for Real-Time Indicator Calculations . A templated CCircularBuffer class for MQL5 replaces the O(n) ArrayCopy array-shift pattern with O(1) insertion using a fixed-capacity ring buffer. The
Check out the new article: Custom Indicator Workshop (Part 3): Building the UT Bot Alerts Indicator in MQL5 . This article demonstrates how to build the UT Bot Alerts indicator in MQL5 using a clear, step-by-step approach. The tutorial explains how to implement an ATR-based trailing stop system
Check out the new article: Automating Trading Strategies in MQL5 (Part 50): Turtle Soup Liquidity Sweeps . We build an automated MQL5 program that trades Turtle Soup by fading false breakouts of the N-bar high and low. The article implements liquidity-sweep detection, confirmation closes back inside
Check out the new article: Reimagining Classic Strategies (Part 22): Ensemble Mean Reverting Strategy . This article will illustrate to the reader how to implement a mean-reverting strategy for the EURUSD pair. The strategy follows contrarian trading rules. Our strategy implements a weekly moving
Check out the new article: Extreme Value Theory in MQL5: Building a Tail-Risk Crash Gauge Beyond Monte Carlo VaR . Standard MQL5 risk tools read risk from recent history and miss how heavy the downside tail can be. We implement Extreme Value Theory in MetaTrader 5: a Peaks‑Over‑Threshold fit of the
KCI Directional Matrix : The KCI-Directional Matrix (KCI-DX) is an advanced, physics-inspired analytical tool that extracts market kinematics by measuring price path length and volatility energy. Unlike conventional momentum tools, KCI-DX employs a dynamic Z-Score normalization combined with a
KCI Volatility Distance : The KCI Volatility Distance is an advanced, adaptive algorithm meticulously engineered to map market momentum and trend direction with pure precision. Utilizing a proprietary matrix-based calculation, this tool dynamically filters out market noise and provides a strictly
Check out the new article: Building AI-Powered Trading Systems in MQL5 (Part 9): Creating an AI Signal Dispatcher . We turn the MQL5 AI trading assistant into a dispatch-driven system that routes seven trading actions through a single central dispatcher. A line-based key-value protocol constrains AI
Check out the new article: Code, Tears, and Algo Forge . This article discusses the transition to MQL5 Algo Forge as a modern and convenient format for publishing program code and article attachments. Using repositories instead of traditional ZIP archives and source code allows you to keep projects
Candle Timer : "An MT5 on-chart trading utility panel that displays real-time floating profit and loss (P&L) for active positions based on specific lot sizes, paired with a candle countdown timer to track market structure sessions. Author: Jan Wahid Shawqi Abdo Morqos
MA + Envelope Breakouts : Breakouts based on envelope channel or band, multi EA logic in One EA Author: Amarnath Kondiyan Mohan
Check out the new article: Market Simulation (Part 23): Position View (I) . The content we will cover from this point on is much more complex in terms of theory and concepts. I will try to make the material as simple as possible. The programming part itself is quite simple and straightforward. But
Check out the new article: From Basic to Intermediate: Objects (IV) . This is perhaps the most entertaining article so far. The reason is that here we will modify an object already available in MetaTrader 5 in order to create another one that is not originally present on the platform. Of course
T5Copier - MT 5 client to client Local trade copier : A local client to client trade copier with custom dashboard in C# and transport pipe in golang , complete src is provided in archive ( socket based ver ) ultra low latency Author: Amarnath Kondiyan Mohan
Envelope SAR : This indicator is a trend-momentum oscillator that tracks where price sits relative to its structural volatility channel using a normalized relationship between the Parabolic SAR and Envelopes. Author: Amarnath Kondiyan Mohan
Check out the new article: How to Connect AI Agents to MQL5 Algo Forge via MCP . This article extends Part 1 by giving an AI access to the development lifecycle on MQL5 Algo Forge. We implement an MCP server over the Forgejo REST API so an agent can create repositories, commit Expert Advisors
Check out the new article: MQL5 Bootstrap (II): Essential Validators for Robust Trading Systems . The article builds a reusable validation layer for Expert Advisors in MQL5. It implements lot-size rules and normalization, SL/TP and freeze-level guards, price digit normalization, margin sufficiency
Check out the new article: MQL5 Trading Tools (Part 39): Adding a Pinned-Tools Ribbon for Quick Access to Favorite Tools . We add a pinned-tools ribbon: a floating bar that exposes frequently used tools for one-click access without reopening the sidebar. The article implements the ordered pin set
Check out the new article: Implementing Walk-Forward Efficiency Ratio Scoring in MQL5 to Detect Over-Optimized Strategies . Parameter optimization inside MetaTrader 5's Strategy Tester routinely produces strategies that perform well in-sample and collapse on forward data. This article builds a
Pip Value Calculator : Live pip value, risk-based lot sizing, custom volume risk analysis & open position P/L — all in one panel. Author: Zbynek Liska
Value Area Retracement Volume Indicator : The Value Area Retracement indicator, is a powerful volume profile-based tool designed to identify key trading levels—Point of Control (POC), Value Area High (VAH), Value Area Low (VAL), and Profile High/Low—across different timeframes. It helps traders spot
Check out the new article: Feature Engineering for ML (Part 8): Entropy Features in MQL5 . An MQL5 port of four entropy estimators — Shannon, Plug-In, Lempel-Ziv, and Kontoyiannis — operating on the intrabar tick-rule sequence. CopyTicksRange() limits data to the broker's cached tick window, so
BBandsPsar : BBandsPsar is a custom hybrid indicator that fuses Bollinger Bands’ volatility framework with the Parabolic SAR’s trend-following logic. By integrating these two methodologies, it effectively reconciles market volatility with emerging trend dynamics within a single, cohesive tool
Check out the new article: Position Management: Safe Pyramiding with a Unified Stop in MQL5 . This article presents CPyramidEngine, a reusable MQL5 class that adds disciplined pyramiding to any Expert Advisor with about six lines of integration. The engine enforces three constraints: strictly
Check out the new article: Building a Broker-Agnostic Symbol Resolution Layer in MQL5 . We implement a symbol resolution framework that abstracts broker naming differences in MetaTrader 5. Using a persistent mapping store, layered resolution with validation, a hash-indexed registry, and a cache, it
Check out the new article: Persistent Homology in MQL5: The Reduction Algorithm and the Persistence Diagram . We complete persistent homology for MQL5 by reducing the Vietoris–Rips boundary matrix to a persistence diagram. The article implements Z/2 column reduction (CTDAReduction), a diagram