This installment describes the decoder and autoregressive prediction half of a native MQL5 implementation of Kronos, a transformer model for financial candles. It reconstructs normalized OHLCVA bars from hierarchical tokens, embeds token pairs alongside…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
5,018 documents
The article presents an MQL5 architecture that turns AI analysis into structured signals an Expert Advisor can route, parse, display, and potentially execute. A central dispatcher maps stable action identifiers to separate workflows, each with its own data…
This tutorial introduces the MetaTrader 5 Economic Calendar and explains how its event data can be accessed from MQL5 programs. Calendar entries include country and currency associations, event descriptions, importance, scheduled times, and reported values…
The article explains how neural networks can support trading systems, focusing on signal generation and indicator calculation. It distinguishes forecasting a future closing price from producing a decision signal during a trading session, and argues that the…
This article describes a multilayer perceptron that forecasts a conditional Gaussian distribution for price increments rather than producing only a point estimate. It motivates the approach by noting that mean squared error corresponds to a Gaussian…
This article presents ways to combine classifiers whose outputs may be discrete class choices, confidence values, probabilities, or ordinal rankings. It explains why rankings can help compare models with differently scaled outputs and why they are more…
The article presents StockFormer, a hybrid framework that combines Transformer-based predictive coding with an Actor–Critic reinforcement-learning agent. Three branches learn representations for long-horizon trends, next-day returns, and changing…
The article describes an Expert Advisor that periodically retunes its strategy parameters against a rolling span of historical data. A manager requests candidate parameter sets from an optimization algorithm, runs each set through a virtual copy of the…
The article describes an Actor–Director–Critic (ADC) deep reinforcement learning design intended to guide policy learning when a conventional Actor–Critic's value estimates are unreliable early in training. The Actor proposes actions, the Critic estimates…
This article proposes transforming technical indicators into features that may be more informative for a perceptron than raw prices or indicator levels. It defines three approaches: distances between indicators or between current and historical values,…
The article adapts Spatial Temporal Fusion (STF), a framework for jointly forecasting related demand and supply series, to trading signals. It treats bullish and bearish price movement as proxies for demand and supply, using high-minus-open and…
This technical article ports several structural-change statistics to MQL5 for use as bar-indexed features in an expert advisor or indicator. The suite includes Chu-Stinchcombe-White CUSUM, a Chow-type Dickey-Fuller test, SADF with a rolling lookback, and…
This article describes an MQL5 Expert Advisor that replaces a fixed moving-average crossover threshold with parameters fitted on a rolling window. Its proposed volatility-adjusted moving average cross uses two exponentially weighted averages and an ATR-based…
The article demonstrates a voting-style ensemble that runs two separately trained EURUSD daily models inside an MQL5 Expert Advisor. One model uses recent OHLC observations to predict the next close; the other classifies movement as up, down, or…
The article builds a binary logistic regression classifier in native MQL5 using a sigmoid probability, binary cross-entropy, and stochastic gradient descent. Its example predicts whether the next bar will close higher, using five features derived from…
This article explains Community of Scientists Optimization, a population-based method for searching a multidimensional objective space. Each candidate solution behaves like a researcher with a position, movement direction, personal best, funding state, and…
The article evaluates transfer learning for a neural model trained to detect price fractals. It compares a model initialized with random weights against models that reuse the encoders of previously trained variational autoencoders, including fully connected…
This article presents a breakout system that combines recent support and resistance levels with a surge in trading volume. A signal requires price to close beyond a recent boundary while volume exceeds its historical average by a stated threshold. The…
The article introduces quantum computing concepts such as superposition and entanglement, then presents a prototype that encodes market data into a circuit, measures repeated outcomes, and maps the resulting bit patterns to a bounded price-direction…
The article explains dynamic mode decomposition (DMD), a data-driven method that estimates a system’s evolving patterns from sequential snapshots. It describes forming paired data matrices, using singular value decomposition to reduce the problem, and…
The article combines TRIX trend signals and Williams %R oscillator signals in a convolutional neural network intended to filter trades. It explains Python calculations for both indicators, then describes a one-dimensional convolutional architecture whose…
This article walks through a workflow for preparing MetaTrader 5 historical data in Python, creating a next-period direction label, fitting a Random Forest classifier, and evaluating predictions with precision and a rolling time-series backtest. It then…
The article describes a Python and MetaTrader 5 workflow that retrieves minute bars directly from the terminal, stores history in Parquet, engineers technical and statistical features, trains a classifier, and serves predictions to an MQL5 Expert Advisor…
The article explains the design and initialization of GinAR’s Interpolation Attention layer, a component in a graph-based model for forecasting multivariate time series. The framework is presented as a way to represent dependencies among variables with a…