Muhammad Minhas Qamar
Muhammad Minhas Qamar
  • 信息
不
经验
2
产品
15
演示版
1
工作
0
信号
0
订阅者
Developer by Profession, Trader by Hobby

Gmail: ayanminhasshayar@gmail.com
Muhammad Minhas Qamar
已发布文章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
已发布文章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
已发布文章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
已发布文章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
已发布文章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
已发布文章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
已发布文章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
已发布文章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
已发布代码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.
158
Muhammad Minhas Qamar
已发布代码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.
101
Muhammad Minhas Qamar
已发布文章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
已发布文章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
已发布代码Alpha Engine: Intrinsic-Time Coastline Trader
奥尔森团队的Alpha Engine的移植版本:八个限价交易代理在对冲账户上交易内在时间的趋势反转。它们在价格超调时加仓,并在趋势反转获利时减仓。
Muhammad Minhas Qamar
已发布文章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
已发布文章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
已发布文章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
已发布文章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
留下反馈给客户为工作 Python/mql5 indicator and the expert advisor
Muhammad Minhas Qamar
已发布文章Foundation Models for Trading (Part II): Decoding, Autoregression, and an Exact KV-Cache
Foundation Models for Trading (Part II): Decoding, Autoregression, and an Exact KV-Cache

We complete the native MQL5 port of Kronos: the decoder, the predictor's decode_s1 and decode_s2 stages with their cross-attention traps, and the autoregressive loop that produces a multi-bar forecast. Then we profile and make it roughly 4.5x faster with an exact KV-cache and pre-transposed weights, verifying every stage against PyTorch.

Muhammad Minhas Qamar
已发布文章Bloch's Relative Moving Average (RMA) Framework Implementation In MQL5
Bloch's Relative Moving Average (RMA) Framework Implementation In MQL5

We port Daniel Bloch's Relative Moving Average framework into a complete MetaTrader 5 system. Instead of smoothing price, the RMA measures where price sits inside its own recent distribution on a [0,1] fractile scale, and drives four cross-strategies with a regime-adaptive exit. Includes the engine, indicators, and a backtested Expert Advisor.

123