MQL5 Programs Market

Dozens of new automated trading applications appear in the MQL5 Market every day. Choose the right app among 10,000 products and forget about unnecessary routine operations of manual trading.

Sell your algorithmic trading programs through the largest store of trading applications!

The Gold Reaper MT5
Profalgo Limited
4.45 (108)
PROP FIRM READY! ( download SETFILE ) WARNING: Only a few copies left at current price! Final price: 990$ Get 1 EA for free (for 3 trade accounts) -> contact me after purchase Ultimate Combo Deal   ->   click here JOIN PUBLIC GROUP:   Click here Live Signal Client Signal YouTube Reviews LATEST MANUAL Welcome to the Gold Reaper! Build on the very succesfull Goldtrade Pro, this EA has been designed to run on multiple timeframes at the same time, and has the option to set the trade frequency fro
Quantum Queen X MT5
Bogdan Ion Puscasu
5 (65)
The Legend Continues. The Queen Evolves. Welcome to Quantum Queen X — the next generation of the legendary GOLD trading system that builds upon the proven success of Quantum Queen. Quantum Queen X is built on the same proven core engine as Quantum Queen, introducing a powerful new Custom Mode that allows traders to choose exactly which strategies to enable or disable. Every strategy has been individually reviewed, refined, and optimized to deliver even better performance and adaptability across
Quantum Commander
Bogdan Ion Puscasu
4.75 (16)
The Quantum ecosystem is entering a new battlefield—and a new Commander is taking control. Developed exclusively for the US30 index, Quantum Commander is the fully automated Expert Advisor built for one of the world’s most dynamic markets. In a world saturated with GOLD EAs, Quantum Commander stands apart. After several GOLD-focused releases, we are advancing into new territory with US30—a new instrument, a different strategy, and a powerful opportunity to bring true diversification to the Qua
Quantum Titan MT5
Bogdan Ion Puscasu
4.79 (39)
Bringing institutional-grade trading to the Quantum ecosystem, Quantum Titan sets a new standard for precision, discipline, and proven live-market performance. Developed for traders who expect more from a GOLD Expert Advisor, Titan represents the next evolution of Quantum trading technology. Availability is strictly limited to 1,000 lifetime licenses worldwide. Once all 1,000 copies have been claimed, Quantum Titan will no longer be available. Special launch discount price. Final price $1999
My AI Gold
Vitalii Kosov
5 (4)
AI-DRIVEN GOLD TRADING REVOLUTION -------------------------------------------------------------------------------- My AI Gold is not just another automated trading tool—it is the culmination of advanced neural network engineering, proprietary custom architecture, and rigorous real-world optimization. Built from the ground up utilizing cutting-edge repositories and state-of-the-art machine learning frameworks from GitHub, My AI Gold harnesses deep data analysis to decode the complexities of the
Aikon MT5
William Brandon Autry
5 (9)
AIKON — AUTOMATED TRADING. CONVERSATIONAL CONTROL. AIKON is an AI-powered Expert Advisor (EA) for MetaTrader 5. Once configured and enabled, it can analyze markets, open trades and manage positions automatically within your chosen settings and risk controls. Ask Aikon gives you a direct way to understand and control your trading system—in plain language. Build your setup. Ask why a market did or did not trade. Review your exposure. Prepare changes from your desktop or through Telegram on your ph
MoonDog EA
James Vito Armin Bianchini
4.39 (38)
FROM $349 TO $299  FINAL 10 COPIES. ONCE THESE 10 ARE SOLD, MOONDOG WILL NO LONGER BE AVAILABLE FOR SALE. EXISTING CUSTOMERS WILL CONTINUE TO RECEIVE FUTURE UPDATES AND SUPPORT. OFFICIAL LIVE SIGNALS VIEW THE MAIN MOONDOG LIVE SIGNAL VIEW THE SECOND MOONDOG LIVE SIGNAL START HERE — USER GUIDE OPEN THE COMPLETE MOONDOG V4.18 USER GUIDE Please read the guide before using MoonDog. It explains the installation, trading modes, risk settings, MoonLock, news protection, dashboard and chart control
Ultimate Breakout System
Profalgo Limited
5 (52)
IMPORTANT : This package will only be sold at current price for a very limited number of copies.    Price will go to 1999$ soon!   + 300 Strategies included and more coming! BONUS : choose 5  of my other EA's for free!   ALL SET FILES + COMPLETE SETUP AND OPTIMIZATION GUIDE VIDEO GUIDE LIVE SIGNALS REVIEW (3rd party) NEW - 44-STRATEGIES LIVE SIGNAL Welcome to the ULTIMATE BREAKOUT SYSTEM! I'm pleased to present the Ultimate Breakout System, a sophisticated and proprietary Expert Advisor (EA)
Scalping Robot Pro MT5
MQL TOOLS SL
4.38 (165)
Scalping Robot Pro is a professional trading system designed specifically for fast and precise scalping on XAUUSD using the M1 timeframe. The system is built to capture short term market movements with accurate execution and controlled risk management. It focuses on real time price behavior, momentum shifts, short term volatility, and selective grid based trade management techniques to identify high probability trading opportunities in the gold market. Scalping Robot Pro is optimized for traders
Smart Gold Hunter
Barbaros Bulent Kortarla
4.05 (75)
No Grid / No Martingale / No Recovery / No Hedging / Single Entry with SL / One Shot Smart Gold Hunter is an Expert Advisor for XAUUSD / Gold trading on MetaTrader 5. It is designed for traders who prefer a Gold EA with no grid, no martingale, real Stop Loss and Take Profit logic, and controlled risk management. You can check the live signal before making a decision: Live Main Signal : https://www.mql5.com/en/signals/2365400?source=Site Smart Gold Hunter is not a grid EA and it is not a m
Ghost Scalper MT5
Thomas Christoph Lipka
3.93 (15)
Ghost Scalper MT5 4.0 is a fully automated Expert Advisor for XAUUSD / Gold on MetaTrader 5 . Ghost was developed for selective breakout and momentum movements in the gold market. The EA waits for the conditions of its four independent strategies and does not open trades constantly. Version 4.0 adds different trailing profiles, an automatic Auto Offset system for Dynamic Fast, enhanced execution and broker monitoring, and additional dashboard analysis features. LIVE SIGNALS Ghost is publicly tra
Quantum Athena X
Bogdan Ion Puscasu
5 (17)
Smarter Control. Refined Precision. Welcome to Quantum Athena X — the next generation of the focused GOLD trading system that builds upon the precision, efficiency, and disciplined execution of Quantum Athena. Quantum Athena X is built on the same streamlined core engine and the same 6 carefully selected strategies as Quantum Athena. Each strategy has been individually refined and optimized for current GOLD market conditions, while the new powerful Custom Mode allows traders to choose exactly
ThunderGold Scalper
Jorge Luiz Guimaraes De Araujo Dias
4.25 (24)
ThunderGold Scalper ThunderGold Scalper is an Expert Advisor developed for automated gold trading on MetaTrader 5. The EA is designed for XAUUSD and GOLD on the M15 timeframe. It uses a proprietary multi-factor decision engine to identify qualified trading opportunities and manage positions automatically. The system combines market structure, trend direction, candle quality, volume, momentum and execution controls. It is designed to wait for suitable conditions instead of opening trades continuo
GoldenShot
Adam Hrncir
4.47 (30)
10 LICENSES LEFT AT   $ 249  / $ 299  NEXT /   $ 399 final price. The earlier you decide, the less you pay. Check the live signal   /   Read the manual  / Why are the back-test numbers that good - is it real or over-fitted? One shot. One target. Zero recovery. GoldenShot is a single-position gold EA built for controlled, long-term trading. It waits for a qualified setup, takes one clean shot with a real stop loss, and if the idea does not work, it manages the trade instead of rescuing it. No
Philosopher
Michael Arthur Schorr
5 (5)
LIVE SIGNAL SPECIAL PROMOTION: PRICE WILL INCREASE to 499 $ on 01.10 . 22 Gold Trading Strategies. One Coordinated System. PHILOSOPHER is the flagship XAUUSD Expert Advisor in my Roman EA Series, developed for MetaTrader 5. Gold can trend, consolidate, break out and reverse within the same trading session. PHILOSOPHER brings together 22 specialized strategy models to evaluate different types of opportunity, with shared rules for execution, position sizing and basket management. Choose a broker
Quantum iGold MT5
Yassine Mouhssine
4.55 (58)
Quantum iGold MT5 – Advanced AI Trading System (XAUUSD) Quantum iGold MT5 is a fully automated trading system built using advanced Artificial Intelligence techniques. It employs a hybrid neural architecture that integrates LSTM and Transformer models to analyze price behavior on XAUUSD . This structure enables the system to detect market patterns, adapt to volatility changes, and generate technically refined trading signals in real time. After purchase, please contact me via MQL5 private messa
Trade Assistant MT5
Evgeniy Kravchenko
4.43 (216)
It helps to calculate the risk per trade, the easy installation of a new order, order management with partial closing functions, trailing stop of 7 types and other useful functions. Additional materials and instructions Installation instructions - Application instructions - Trial version of the application for a demo account Line function -   shows on the chart the Opening line, Stop Loss, Take Profit. With this function it is easy to set a new order and see its additional characteristics bef
Range Breakout EA with Range Filters
Jimmy Peter Eriksson
4.67 (30)
DISCOUNT: $499 INSTEAD OF $649 — UNTIL 2 OCTOBER 2026 If you value honesty and a real trading system built for live trading, not just a perfect-looking straight-line backtest that can end up blowing your account, then this might be for you. Prop Firm Ready! No Martingale / No Grid 23 Months Live Signal +300% Live Growth [Live Signal]  |  [FTMO Results]  |  [Main Portfolio]  |  [Backtest Guide] Why Range Breakout EA is so Stable ? Range Breakout EA is based on a well-known market behaviour: chan
Ghost Xau mt5
Leonid Arkhipov
5 (1)
A WEAK ENTRY SHOULD NOT BE SAVED BY A HUGE STOP LOSS. GHOST XAU was built differently: no grid, no averaging, TP = SL — a true 1:1 ratio. The EA was developed with a strong focus on broker-neutral logic , so its decisions depend on the market rather than the specifics of one particular broker. Every entry is evaluated by 3 models, 620 decision trees and 120+ market features. If the required quality is not there — there is simply no trade. YOU SEE MORE THAN A TRADE — YOU SEE THE DECISION GH
De Moore
Benicanoko
3.86 (7)
Now $499 — Only 10 Copies Available Secure your copy at $499 before the next price increase to $699. DeMoore Expert Advisor is a high-precision scalping Expert Advisor developed exclusively for XAUUSD (Gold) on the M5 timeframe. The De Moore Expert Advisor performs market analysis based on trend-following and price action concepts. The analysis is also based on multi-timeframe analysis. Live Signal        How De Moore EA Works for You Buy the EA on MQL5 Market Install on MetaTrader 5 Run on a 24
SMART TREND TRADING SYSTEM — SPECIAL OFFER Your trading system. Your automation EA. Your training and support. Get Smart Trend Trading System for MT5 for $99 and receive Smart Universal Expert Advisor FREE to automate its signals. STTS brings trend direction, entry and exit signals, reversal zones, and important price levels together on your chart. Follow the system manually, or connect the included EA for automated execution using your chosen settings. The current $99 price applies to the next
Cepheus
Thierry Ouellet
5 (2)
LAST 72H  249$ | 399$ FINAL PRICE User manual Live signals Cepheus Loyalty Cepheus Ultimate (both breakout engines Cepheus Discipline Two Synergistic Engines. Zero Grid. Zero Martingale. Defined Risk. Cepheus is a dual-engine algorithmic trading system developed specifically for XAUUSD (Gold) . Instead of relying on a single trading model, Cepheus combines two independent strategies designed to identify different types of market opportunities. Each engine has its own entry logic, filters, exe
Diamond Scalper MT5
Lo Thi Mai Loan
5 (4)
Live Signal: https://www.mql5.com/en/signals/2382857 Live Signal-2: https://www.mql5.com/en/signals/2390825 Live Signal Setfile  (Risk 2% per trade) IMPORTANT - READ BEFORE CHOOSING A MODE: full backtest of all 11 Trading Modes → https://www.mql5.com/en/blogs/post/775822 You've watched Gold rip 1500 points in a straight line and felt your stomach drop - not because you were wrong about the direction, but because you were still staring at your phone, half a second too slow to click. You've set a
Adaptive Gold Scalper Important Pre-notice: This strategy requires a long period of practical verification, and favorable trading returns cannot be guaranteed in the short run. Traders must select brokers with ultra-low order latency, minimal slippage and zero/low stop level requirement; poor broker conditions will lead to disastrous trading results. I have over 14 years of professional trading experience. With proper brokerage conditions and sufficient running time, this fully automated scalpi

Trading Signals

Choose a suitable trading strategy and subscribe to it with a few clicks. All Signals are provided with detailed statistics and informative charts.

Become a trading signal provider and sell subscriptions to thousands of traders around the world. With the Signals service, your successful strategy can generate income with a small start-up budget!

Forex VPS for MetaTrader 4/5

We will offer a server with the lowest ping and the best execution
Equinix LD4
London, UK
51.5235, -0.636
Equinix NY4
New York, US
40.7765, -74.072
Equinix SP3
Sau Paulo, Brazil
-23.4663, -46.8634
Equinix HK1
Hong Kong
22.3656, 114.1171
Servers.com AMS1
Amsterdam, Netherlands
52.3918, 4.665
Servers.com MOW1
Moscow, Russia
55.736, 37.721
Falkenstein FSN1
Falkenstein, Germany
50.4788, 12.3327
Interxion FRA3/FRA8
Frankfurt, Germany
52.3918, 4.665
Aurora 1
Chicago, US
42.0011, -87.9571
Mumbai
Mumbai, India
19.1131, 72.8925
Johannesburg
Johannesburg, South Africa
-25.9305, 28.1362
Singapore
Singapore
1.3226704, 103.9186452

Jobs for Freelancers

Order a custom technical indicator, a trading robot or any other app for the MetaTrader platforms from trusted developers.

Professional programmers deal with hundreds of orders in the MQL5 Freelance section with guaranteed payment and instant withdrawal of earnings through convenient payment systems.

70+ USD
I've got a Pine Script from Trading View. I need help from a programmer who can help with optimising the strategy by 1) Adding a couple of further rules 2) Redesign the trading alert arrows & colours I need, please, a programmer who is 1) Good at Pine language 2) Has excellent after-job support (not for free though) 3) Possess the ability to work with others. 4) Able to deliver the job at the shortest possible time
26 Applications
100+ USD
I need an experienced TradingView Pine Script developer to build and test a custom intraday strategy for NQ/MNQ . I am not looking for a conversion . I need the strategy researched, developed, tested, and optimized based on my requirements. Requirements: NQ/MNQ intraday trading 5–15 minute charts New York session only Flat before market close Base logic using Zero Lag Signals , with additional filters if justified
18 Applications
(67) MQL5 Experts
100 - 150 USD
Le robot devra : Respecter strictement les règles de risque des comptes FTMO : perte journalière maximale, perte maximale totale, taille des positions, etc. Intégrer un système de gestion du risque automatique. Être capable de gérer différents types de comptes et tailles de capital. Être basé sur ma stratégie et mes règles de trading que je fournirai au développeur. Être entièrement automatisé pour l’exécution des
28 Applications
MQL5 Experts Forex
30 USD
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed
17 Applications
30 - 100 USD
I am looking for an experienced MQL5 developer to build a professional MT5 Expert Advisor specifically for XAUUSD (Gold) and other indices. I saw that XAUUSD is one of your primary areas of specialization, so I would like to discuss a custom EA with you. My priority is NOT extremely high returns. I want a robust EA designed for controlled risk and long-term survival. Requirements: • MT5 / MQL5 • XAUUSD, usoil,btc and
35 Applications
(3) MQL5 Experts
30 - 100 USD
I am looking for an experienced MQL5 developer to build a professional MT5 Expert Advisor specifically for XAUUSD (Gold) and other indices. I saw that XAUUSD is one of your primary areas of specialization, so I would like to discuss a custom EA with you. My priority is NOT extremely high returns. I want a robust EA designed for controlled risk and long-term survival. Requirements: • MT5 / MQL5 • XAUUSD, usoil,btc and
34 Applications
MQL5 Experts Strategy optimization

New in chats

Chat with your colleagues, discuss new ideas in groups, subscribe to useful channels and create your own ones to share your experience

Savia Signals - Boom & Crash Trend
SELL #Boom 1000 Index H1 Entry: 16088.3492 TP: 15702.2288 (+2.4 %) SL: 16281.4094 (-1.2 %) Protect Your Capital Use Trailing Stops to Lock In Profits ⚖ Practice Responsible Risk Management
Savia Signals - Jump Index
SELL #Jump 50 Index H1 Entry: 63042.18 TP: 62537.84 (+0.8 %) SL: 63294.35 (-0.4 %) Protect Your Capital Use Trailing Stops to Lock In Profits ⚖ Practice Responsible Risk Management
Savia Signals - Step Index
SELL #Step Index 300 H1 Entry: 13637.0 TP: 13555.1 (+0.6 %) SL: 13677.9 (-0.3 %) Protect Your Capital Use Trailing Stops to Lock In Profits ⚖ Practice Responsible Risk Management
AI Gold & Oil Analyse
Instrument: WTI Crude Oil (CL) Direction: Short Targets: 89.20 Risk Zones: 92.10 BEARISH RETEST Crude oil remains in a firm downtrend, with any shallow rebound likely serving as a liquidity grab for sellers. ⚙ TECHNICAL DRIFT On the H1 chart, movi
Saeid Soleimani Products
FINAL CALL — VELOX PULSE PRO This is the LAST POST of this campaign. If you were waiting to see what VELOX PULSE can actually do — stop watching and take a look at the live results. XAUUSD M5 Fast Scalping Breakout Entry Engine Dual TP Anti-Fakeo
New Gadgets and Game Tech News
‘We were almost dead’: NeoGeo boss reveals forced redesign behind AES+ delay - https://www.videogameschronicle.com/news/we-were-almost-dead-neogeo-boss-reveals-forced-redesign-behind-aes-delay/
BTC-AI
BTC-AI
Futures Signal Pair: #ROSE Long | Limit | Isolated  Entry 1 : 0.008669 Entry 2 : 0.008495 TP →  1) 0.008756 2) 0.008842 3) 0.009012 4) 0.009179 5) 0.009355 SL : 0.008326 5% Capital  Leverage : 10X
AI Useful Tips For Novice
THE BANK VAULT ILLUSION Many assume every fixed deposit up to 5 lakh is totally isolated, but deposit insurance applies across your total bank balance rather than per separate FD. DIVERSIFICATION DEFENSE Spread your capital across multiple robust inst
Savia Signals - Volatility
BUY #Volatility 75 Index H1 Entry: 45411.33 TP: 46501.20 (+2.4 %) SL: 44866.39 (-1.2 %) Protect Your Capital Use Trailing Stops to Lock In Profits ⚖ Practice Responsible Risk Management
Savia Signals - Volatility Switch
SELL #VolSwitch High Vol Index H1 Entry: 645.69 TP: 641.82 (+0.6 %) SL: 647.63 (-0.3 %) Protect Your Capital Use Trailing Stops to Lock In Profits ⚖ Practice Responsible Risk Management
Savia Signals - Forex
SELL #UK Brent Oil H1 Entry: 96.202 TP: 95.202 (+100 pips) SL: 96.702 (-50 pips) Protect Your Capital Use Trailing Stops to Lock In Profits ⚖ Practice Responsible Risk Management
AI Stocks Analyse
Instrument: Tesla (TSLA) Direction: Short Targets: 345 Risk Zones: 368 BEARISH PRESSURE Tesla faces selling headwinds on H1, sliding below key support at 360.00. ⚠ RISK & TARGETS Downward momentum could target 345.00 with risk managed above 368.00

Financial Trading Articles

Learn how to create your own technical indicators and trading robots from the huge database of articles written by expert traders.

Share your trading and programming experience with those who are new to algorithmic trading, write an article about it and earn $200. In addition, we will translate your article to ten languages.

preview
From Deal History to Hazard Curves: Survival Analysis Applied To Strategies

From Deal History to Hazard Curves: Survival Analysis Applied To Strategies

This article reframes performance from unconditional win rate to conditional probability given survival time. It introduces an MQL5 library, an on‑chart indicator, and a demo Expert Advisor that read deal history, fit Kaplan–Meier and Aalen–Johansen curves with competing risks, and report forward probabilities over a bar‑based horizon. Readers gain a reproducible way to quantify the chance that the current position reaches its target or stop, and to see the bias of the naive censoring approach.
preview
Encoding Candlestick Patterns (Part 5): Expanding Taxonomy of Candlestick for General Pattern Frequency Analysis

Encoding Candlestick Patterns (Part 5): Expanding Taxonomy of Candlestick for General Pattern Frequency Analysis

This article extends the candlestick encoding framework by separating previously unclassified bullish and bearish candlesticks into distinct symbols. Using an MQL5 script, historical data were automatically encoded, sequential patterns were extracted, and frequency statistics were generated. The results show that these newly identified candles represent a significant portion of market activity, revealing structural information previously hidden by the generic underscore notation. The expanded taxonomy improves the completeness of the symbolic representation while preserving an objective, quantitative framework for large-scale market structure analysis.
preview
Neural Networks in Trading: A Unified View of Space and Time (Global-Local Attention)

Neural Networks in Trading: A Unified View of Space and Time (Global-Local Attention)

We are continuing our work on implementing the approaches proposed by the authors of the Extralonger framework. This time, we will focus on building a Global-Local Spatial Attention module using MQL5, examining both its structure and its practical integration into the overall computational process.
preview
Competitive Swarm Optimizer (CSO)

Competitive Swarm Optimizer (CSO)

The article discusses the Competitive Swarm Optimizer — a swarm optimization algorithm based on an extremely simple idea: agents are randomly paired, and the loser learns from the winner and is drawn toward the center of the swarm. In addition to analyzing CSO, the article describes the modernization of the test bench: visualization of the algorithms’ operation has been moved into 3D space, making it possible to clearly observe the movement of the population on the surface of the test function.
preview
Working with ONNX Models in MQL5 (Part 2): Drawing the Model Graph on an Interactive Chart Panel

Working with ONNX Models in MQL5 (Part 2): Drawing the Model Graph on an Interactive Chart Panel

We turn the ONNX reader into an interactive graph viewer on a MetaTrader 5 chart. The parser is extended to carry tensor shapes and node attributes, and a canvas with anti-aliased drawing renders nodes and labeled connections. The layout arranges layers by depth, while zoom, pan, and clicks let you inspect operators and the tensors they read. This makes a model's structure and data flow visible directly in MQL5.
preview
Wasserstein Distance for Live Feature-Drift Detection in MQL5: Monitoring ONNX Model Inputs with Optimal Transport

Wasserstein Distance for Live Feature-Drift Detection in MQL5: Monitoring ONNX Model Inputs with Optimal Transport

This article implements a lightweight feature-space drift guard in MQL5 using 1D Wasserstein‑1: sort-and-pair scoring on equal windows, IQR normalization per feature, and gating via both a weighted composite and a max-statistic. Configuration comes from a JSON manifest (window sizes, weights, warn/critical thresholds, actions). It runs next to an ONNX classifier and is validated with Strategy Tester results and explicit caveats.
preview
Position Management: Deriving a Self-Calibrating Exit Ladder From Historical MFE in MQL5

Position Management: Deriving a Self-Calibrating Exit Ladder From Historical MFE in MQL5

We implement three MQL5 classes that replace fixed 1R/2R/3R targets with data-driven scale-out levels. CExcursionTracker records each closed trade's maximum favorable excursion in R, CExitLadderCalibrator derives runs from distribution percentiles with lookback and minimum-sample controls, and CLadderExecutor executes them on open positions. The ladder recalibrates as trades accumulate and uses a fallback until enough samples exist.
preview
Rough Volatility: Building a Roughness Index Feature from the RFSV Model for ML Trade Filtering

Rough Volatility: Building a Roughness Index Feature from the RFSV Model for ML Trade Filtering

This article builds a usable roughness index from rough volatility theory by fitting local H via a structure-function regression on blocked returns, all in native MQL5. We combine it with vol-of-vol features, train a gradient-boosted classifier in Python, export to ONNX, and call it from an EA. You will be able to compute H on every bar and use the model as a regime-aware entry filter.
preview
Hidden Semi-Markov Models for Duration-Aware Regime Detection in MQL5

Hidden Semi-Markov Models for Duration-Aware Regime Detection in MQL5

Standard HMMs assume geometric, memoryless state durations, which poorly match real market phases. This piece implements a duration‑explicit Hidden Semi‑Markov Model natively in MQL5, with per‑state sojourn distributions and a residual‑time forward filter. Parameters are fit offline via EM and loaded through a compact JSON manifest. The EA for XAUUSD M5 uses expected remaining duration to gate entries and exits, helping hold trends while avoiding late entries near regime exhaustion.