Discussing the article: "Self-Optimizing Expert Advisors in MQL5 (Part 19): Parameter Optimization For Time-Lagged Independent Components Analysis (2)"
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: Self-Optimizing Expert Advisors in MQL5 (Part 19): Parameter Optimization For Time-Lagged Independent Components Analysis (2).
The article shows how to tune ICA hyperparameters with a supervised evaluation pipeline and apply spectral clustering to time-lagged indicators. Cross-validation identifies the optimal number of clusters, which are translated into expected return and risk measures. These signals drive dynamic position sizing and stop-loss control, with surrogate models converted to ONNX and integrated into an MQL5 Expert Advisor.
This article addresses a practical engineering problem: how to suppress statistical noise in lagged market features and turn the resulting structure into a reproducible, deployable risk-aware trading application for MQL5. Our starting point is a simple pipeline that computes moving‑average (MA) lagged features, learns an ICA embedding, and feeds that embedding into a linear classifier. In practice, we observed two failure modes:
To address these issues we set three explicit objectives:
Key methodological choices include time‑series CV, a line search on cluster counts, a surrogate multi‑output classifier to bypass ONNX limitations, and careful validation to avoid reward‑hacking on sparse, imbalanced multi‑output labels.
Author: Gamuchirai Zororo Ndawana