Muhammad Minhas Qamar
Muhammad Minhas Qamar
5 (1)
  • Informazioni
no
esperienza
2
prodotti
15
versioni demo
1
lavori
0
segnali
0
iscritti
Developer by Profession, Trader by Hobby

Gmail: ayanminhasshayar@gmail.com
Muhammad Minhas Qamar
Articolo pubblicato Which Economic Releases Actually Move Your Symbol, and by How Much?
Which Economic Releases Actually Move Your Symbol, and by How Much?

A calendar release is not a category but a number against a consensus. In MQL5 we build a robust, standardized surprise (actual minus forecast scaled by each indicator's own dispersion), recover the broker's daylight saving schedule from price to anchor each release on the bar that moved, and regress price response by symbol and horizon. The result is a measurable profile in pips per sigma showing which events actually move your market.

Muhammad Minhas Qamar
Articolo pubblicato Entropy Pooling and Scenario Budgets for Expected-Shortfall Sizing
Entropy Pooling and Scenario Budgets for Expected-Shortfall Sizing

Rolling lookback windows implicitly fix a probability vector over past bars. We implement entropy pooling in MQL5 to keep all historical scenarios, reweight them by conditioning on today's volatility under an effective‑scenarios budget, and add views on volatility, tails and correlation. A walk‑forward test, a chart indicator and an ES‑based sizing EA demonstrate how to calibrate risk forecasts and position size to the current regime.

Muhammad Minhas Qamar
Articolo pubblicato Beyond Squared Returns: Path-Dependent Volatility
Beyond Squared Returns: Path-Dependent Volatility

This article implements a path-dependent volatility model in MQL5 that keeps the sign of returns. The engine uses two-timescale EWMA kernels (four accumulators) to form activity and trend features, with closed-form coefficients and a lightweight kernel search. We provide a calibration workflow and an indicator that plots the decomposition, then test out of sample against EWMA and GARCH on multiple symbols. Results show clear gains on equity indicators and minimal gains on FX.

Muhammad Minhas Qamar
Articolo pubblicato Online False Discovery Rate Control: Putting an Error Budget on a Live Signal Stream
Online False Discovery Rate Control: Putting an Error Budget on a Live Signal Stream

The article addresses online false discovery rate control for streaming signals, where fixed thresholds inflate noise discoveries. We port LORD3, LORD++ and SAFFRON into MQL5, construct a causal bootstrap p‑value source without a resolution floor, and verify correctness before market data. Dependence stress tests, a budget/level indicator and a two-arm Strategy Tester show how to configure, monitor and throttle streams to keep the acted-on noise fraction within target.

Muhammad Minhas Qamar
Articolo pubblicato Beyond Tick Volume: Measuring Market Activity from the Waits Between Quotes
Beyond Tick Volume: Measuring Market Activity from the Waits Between Quotes

Tick volume mostly reflects the time of day and is only complete when a bar closes. We build a per‑quote, live activity gauge from the waits between quote changes, remove the intraday rhythm, and model the remainder with the autoregressive conditional duration (ACD) model. We then test whether this activity measure improves short‑horizon volatility forecasts once live price volatility is already in the model.

Muhammad Minhas Qamar
Articolo pubblicato Forecast Reconciliation (MinT): One Engine for Timeframe Hierarchies and Currency Graphs
Forecast Reconciliation (MinT): One Engine for Timeframe Hierarchies and Currency Graphs

This article builds forecast reconciliation in pure MQL5 and applies it to two structures: timeframe aggregation on one symbol and a currency graph linked by no‑arbitrage. The engine projects base forecasts onto linear constraints to make them coherent. We benchmark OLS/WLS and MinT with and without shrinkage on long walk‑forward runs, show when total squared error decreases, and measure the cost that may concentrate in a single node.

Muhammad Minhas Qamar
Articolo pubblicato Foundation Models for Trading (Part III): Running a Generative AI Forecaster Inside MetaTrader 5
Foundation Models for Trading (Part III): Running a Generative AI Forecaster Inside MetaTrader 5

We demonstrate live forecast charting with Kronos in MQL5 and an evaluation pipeline designed to be look‑ahead‑safe. Deterministic dumps are scored per horizon against a random‑walk baseline (15,113 predictions), then fed to a simple Strategy Tester rule on EURUSD H1. The findings show no edge, and illustrate how a high threshold can yield a persuasive but low‑information backtest with very few trades.

Muhammad Minhas Qamar
Articolo pubblicato MiniRocket: A Deterministic Time-Series Classifier and What It Finds in Seven Classic Setups
MiniRocket: A Deterministic Time-Series Classifier and What It Finds in Seven Classic Setups

This article delivers a native MQL5 MiniRocket: 84 fixed convolution kernels yield 9,996 features quickly and deterministically, requiring no training loop and no external runtime. We verify the port against sktime and a float64 reimplementation, then run a reproducible audit of seven classic setups; planted and coin‑flip controls confirm correctness, and a 25%‑flipped control sets the detection threshold.

Muhammad Minhas Qamar
Articolo pubblicato Regime Discovery by Structure: Implementing Toeplitz Inverse Covariance Clustering (TICC)
Regime Discovery by Structure: Implementing Toeplitz Inverse Covariance Clustering (TICC)

This article presents a full MQL5 pipeline for Toeplitz Inverse Covariance Clustering: stacked observations, ADMM‑based graphical lasso with block‑Toeplitz constraints, and dynamic‑programming regime assignment. It separates structure from volatility and conditions away the shared USD leg. The fitted regimes are displayed causally as a non-repainting ribbon with a dependency graph for the active state.

Muhammad Minhas Qamar
Articolo pubblicato Inside MetaEditor's AI Assistant: Writing, Repairing and Testing MQL5 with an Agent
Inside MetaEditor's AI Assistant: Writing, Repairing and Testing MQL5 with an Agent

We use the MetaTrader 5 AI Assistant to execute the full workflow end to end: create an EA from a natural‑language prompt, compile it, break and watch it self‑correct from compiler output, backtest it, and compare a controlled re‑run. The article details the underlying MCP extensions, configuration and safety limits, and how to connect external AI clients. Readers get a repeatable process for building and testing EAs inside the platform.

Muhammad Minhas Qamar
Codice pubblicato Trend BOSS
The Trend BOSS Indicator identifies regimes such as trending, ranging or volatile using a Bag-of-SFA-Symbols (BOSS) classifier. Gate your strategies behind specific regimes or use the indicator to identify various market conditions.
Muhammad Minhas Qamar
Codice pubblicato Market Activity from Quote Waits
Measures market activity from the waits between quotes. An ACD model with the daily rhythm removed gives one ratio per tick: 1 is normal, 2 twice as busy.
Muhammad Minhas Qamar
Articolo pubblicato Symbolic Fourier Approximation in MQL5: Benchmarking SFA Against SAX
Symbolic Fourier Approximation in MQL5: Benchmarking SFA Against SAX

We implement Symbolic Fourier Approximation in MQL5 and compare it to SAX under a shared harness on identical price windows. SFA keeps low‑frequency Fourier coefficients and learns per‑position bins (MCB), with a proven, sound lower bound. The measurements show how the same bit budget behaves under different splits of word length and alphabet, and give a practical rule for choosing settings for your symbol.

Muhammad Minhas Qamar
Articolo pubblicato Intrinsic Time: From the Directional-Change Scaling Laws to the Alpha Engine
Intrinsic Time: From the Directional-Change Scaling Laws to the Alpha Engine

The article implements intrinsic-time analysis in MQL5: an event-based directional-change operator that splits ticks into directional-change and overshoot sections. We reproduce the core scaling laws on 17.8 million live EUR/USD ticks and compare them to a random-walk baseline. Finally, we build a hedging-account Expert Advisor that trades the Alpha Engine with limit orders, detailing thresholds, inventory skew, and liquidity control for practical reuse.

Muhammad Minhas Qamar
Codice pubblicato Alpha Engine: Intrinsic-Time Coastline Trader
Una versione adattata dell’Alpha Engine del gruppo Olsen: otto agenti che operano con ordini a limite negoziano variazioni direzionali nel tempo intrinseco su un conto di copertura. Approfittano degli overshoot e chiudono le posizioni in profitto in caso di inversioni di tendenza.
Muhammad Minhas Qamar
Articolo pubblicato 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.

Muhammad Minhas Qamar
Articolo pubblicato From Delta-Space Quotes to the FX Volatility Smile: Garman-Kohlhagen and the Convention Problem
From Delta-Space Quotes to the FX Volatility Smile: Garman-Kohlhagen and the Convention Problem

FX options are quoted in delta space, not by strike. This article implements an FX-native smile tool for MetaTrader 5: it converts ATM, risk reversal and butterfly quotes into strike-space pillars, prices with the Garman–Kohlhagen model, handles spot/forward and premium-adjusted delta conventions per pair, and draws the smile with a reconstructed strike ladder and Greeks.

Muhammad Minhas Qamar
Articolo pubblicato From Option Chain to Risk-Neutral Density: The Market's Own Probability Distribution
From Option Chain to Risk-Neutral Density: The Market's Own Probability Distribution

The article builds an MQL5 indicator that recovers the risk-neutral density from an option chain via the Breeden–Litzenberger identity. Quotes are inverted to implied volatilities, the smile is smoothed and priced back to arbitrage‑free calls, and the second derivative yields the density. The tool reports probabilities above any level, the expected move, skew and kurtosis, and overlays the realized-return distribution for comparison.

1
Muhammad Minhas Qamar
Articolo pubblicato Network Momentum for MetaTrader5: Trading the Lead-Lag Graph Between Markets
Network Momentum for MetaTrader5: Trading the Lead-Lag Graph Between Markets

This article builds a trend-following Expert Advisor that trades momentum spillover across markets, implemented fully in MQL5 without external solvers. It detects leaders with Derivative Dynamic Time Warping, learns a sparse weighted network by convex optimization, and propagates momentum through it with a reverting response. Readers get a step-by-step, reproducible pipeline and a working EA ready to run in the Strategy Tester.

1
Muhammad Minhas Qamar
Hai lasciato un feedback al cliente per il lavoro Python/mql5 indicator and the expert advisor
123