Articles, Library comments - page 3

FxCraft Example EA – Bollinger Bands mean reversion : Educational Expert Advisor: Bollinger Bands return to the mean with an optional RSI filter and trading hours. Clean, commented MQL5 code with margin, volume and stop level checks. Demo and Strategy Tester only. Author: Jan Jablonski
Close All Positions Panel : Close all positions panel for MT5: seven buttons to close all, buys, sells, winners, losers, the chart symbol or delete pending orders, on Gold (XAUUSD), forex or any symbol, for manual trades and any EA. Open source code. Author: Cristhian Alexander Gaibor Cuasquer
Auto Fibo Extended : Auto Fibo Extended is a MetaTrader 5 indicator designed to automatically identify significant swing highs and swing lows and draw Fibonacci Retracement and Extension levels directly on the chart. Author: Marian Beceanu
Extreme Price Filter : An indicator to reveal the the time candles breached an extreme price boundary Author: Conor Mcnamara
Risk Lot Sizing Library - four risk bases, tick-value scaling, margin cap, daily limit : A stop distance in points is not money until the tick size and tick value make it one. This library turns four risk bases into a lot size, floors it to the volume step, caps it against free margin and tracks a
Check out the new article: How to Replace a WebSocket EA with TradeMux REST in MetaTrader 5 . The article continues the series on AI Hedge Fund and addresses three limitations of v4: analysts' reputation scores are now stored persistently in SQLite, the EA has been removed from the critical
Check out the new article: Crypto Exchange Integration with MQL5 (Part 1): Connecting to MEXC Futures . This article introduces the foundations of connecting MetaTrader 5 to a cryptocurrency exchange using MQL5 and the MEXC Futures API. It covers terminal configuration, JSON response processing
TradeGuard - Reliable Order Execution: No Duplicates, Safe Retries, Restart Recovery : A one-file library that handles how an EA trades: pre-trade checks, normalisation to broker limits, safe retries, one order per signal, isolation by magic number and state recovery after a restart. Lot by risk
Rolling VWAP Deviation Regime Filter : A regime-classification oscillator that measures how far, and how persistently, price deviates from a rolling volume-weighted VWAP in standard-deviation units, separating trending conditions from ranging ones. Author: Habeeb Olamide Abdulazeez
Daily P/L by Magic Number - per-EA profit table for today, week and month : On-chart table that shows how much each Expert Advisor (magic number) made or lost today, this week and this month, with closed and floating profit, number of closed trades today and the intraday drawdown. Manual trades
Check out the new article: How to Train an MLP Using Markov Chain Features in MQL5 . The article describes the two-level MarkovMLPOscillator indicator: a three-state Markov chain uses historical data to construct a transition matrix and generate 15 probabilistic features for each bar, and an MLP is
Check out the new article: Constant Proportion Portfolio Insurance (CPPI) for MQL5: A Floor-Protected Capital Allocation Strategy . Build Constant Proportion Portfolio Insurance natively in MQL5. The article details the floor and cushion formulas, a rebalance engine that operates safely on both
Check out the new article: Neural Additive Models for Fully Interpretable Signal Attribution in MQL5 . Build and deploy a Neural Additive Model natively in MQL5: one small network per feature, additive output, and no post-hoc explainability. The article provides a PyTorch trainer, two‑output ONNX
Quantum Apex Color : Algorithm by DeepSeek AI Author: Rodrigo S. Franco
Check out the new article: Neural Networks in Trading: Temporal Motion Aggregation (Key Components) . In this article, theory meets practice. We implement the key modules of the TMA framework — MPE and MPA. Here, data takes on meaning, and cross-attention becomes a tool for precise analysis of
SessionEdgeTester - does a time-of-day rule beat spread and swap? : Tests "buy at hour X, exit Y hours later" on your broker's own history after spread, commission and swap, with an out-of-sample split, weekday/year breakdown and an all-hours baseline. Author: PROSPRA IQ ENTERPRISES (PTY) LTD
BotWatchdog - phone alerts when your EAs silently stop working : Push notifications when the connection drops, algo trading is switched off, an EA leaves its chart, the account changes, a position has no stop, equity or margin hit a limit - plus a daily heartbeat. Author: PROSPRA IQ ENTERPRISES
SpreadClock - your broker's spread by hour and weekday from real ticks : Reads real tick history and reports average, median and 95th-percentile spread for every server hour and weekday, plus the cost in % of price. Author: PROSPRA IQ ENTERPRISES (PTY) LTD
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
APEX VELOCITY : ApexVelocity is a professional-grade Expert Advisor designed to capture explosive momentum in high-volatility instruments like XAUUSD (Gold). Moving away from rigid, hard-coded parameters, v1.0 introduces a robust, fully dynamic architecture that adapts to market conditions and
Pending tread EA. : Pending_tread EA This Expert Advisor automatically places a grid of pending orders above and below the current market price. It supports both buy and sell pending orders with user-configurable distance (in pips), lot size, and take profit levels. The EA maintains up to 10 pending
Broker GMT offset and daylight-time rule from price history : Detects the broker's GMT offset and its daylight-time rule (fixed, US or European) from the weekly closes in the H1 history, the same way live and in the Strategy Tester, with functions that convert New York times to server time and back
Currency Exposure and Leverage Monitor : Splits all open positions into currencies and shows the net exposure per currency in account money, the effective leverage of the account and how much a 1% currency move would change your equity. Author: Radoslaw Karol Lubas
HybridMicrostructure EA : The Hybrid Microstructure EA is an advanced, high-frequency scalping Expert Advisor designed specifically for XAUUSD (Gold) on the M1 timeframe. Unlike traditional indicators that rely on lagging OHLC mathematics, this EA operates on Tick-Level Microstructure
Session Range and Spread : Draws Asia, London and New York session high/low boxes with each session's range in pips or price, plus a live spread and open-sessions panel. Author: Maniya Hem Bhadreshbhai
Check out the new article: A Grid Expert Advisor Based on a Cellular Automaton with Online Learning in MQL5 (Part I): Continuous Adaptation of the Trading Model on Each Bar . The article examines the architecture of an Expert Advisor based on a cellular automaton with 10,000 adaptive parameters and
Check out the new article: From Basic to Intermediate: Technical Indicators (II) . In this article, we'll show you how to create an MQL5 indicator that plots multiple moving averages on a single chart, reducing the amount of duplicate code. This uses iMA, indicator buffers, CopyBuffer
Check out the new article: How to Set Up an AI Hedge Fund in MetaTrader 5 . The article examines the architecture of a committee consisting of 15 AI agents: ten analysts and four risk officers vote in three parallel phases, and the Chair records the final result. Isolated pair contexts with separate
Check out the new article: Building a Trade Replay Tool in MQL5 . This article presents a Trade Replay Tool for MetaTrader 5 implemented as an MQL5 indicator. It replays historical candles within an anchor-defined range and automatically reconstructs historical trades as paper positions with entry
Check out the new article: Neural Networks in Practice: Gradient Descent . In this article, I will try to explain as simply and clearly as possible one of the most controversial issues that arises when discussing neural networks: how to find the best possible point, or the minimum of the loss