Skip to content

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.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

5,018 documents

MQL5 articles

The article explains Distance Weighted Supervised Learning (DWSL), an offline method for learning goal-conditioned policies from state-action trajectories that may be suboptimal and lack explicit goal labels. It learns a distribution of distances between…

Machine learningStatisticsBacktesting
MQL5 articles

The article shows how to display externally sourced candle data in an MQL5 indicator by reading values previously saved to a file. Its workflow separates data retrieval from visualization: an Expert Advisor can make WebRequest calls and write candle data to…

Machine learningExecutionMarket microstructure
MQL5 articles

The article explains how resampling can estimate predictive model performance when a separate validation dataset is unavailable. It defines apparent error on the training data, prediction error for a fitted model on new observations, population error across…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains an evolution strategy for tuning neural network parameters when analytical gradients are unavailable or difficult to calculate. It contrasts the method with genetic algorithms, which select and recombine varied individuals, and estimates…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains Multi-Layer Key-Value sharing (MLKV), a Transformer attention design intended to reduce the memory used by autoregressive decoding’s key-value cache. It places MLKV alongside Multi-Query Attention and Grouped-Query Attention: those…

Machine learningRisk managementBacktesting
MQL5 articles

The article explains support vector regression’s epsilon-insensitive loss and implements it as a training objective for a multilayer perceptron in MQL5. Prediction errors within an epsilon margin receive no penalty, while larger errors are penalized; a…

Machine learningStatisticsTechnical indicators
MQL5 articles

The article presents entropy as a way to assess how much information an indicator's observed values contain before using them as predictors in machine learning. Because the usual entropy calculation applies to discrete outcomes, it recommends dividing a…

Machine learningStatisticsTechnical indicators
MQL5 articles

The article outlines a workflow for adding a Hidden Markov Model (HMM) volatility filter to a moving-average trend-following strategy. It defines volatility as the standard deviation of returns over a rolling window, classifies observations into high and low…

Machine learningVolatilityTrend followingTechnical indicators
MQL5 articles

The article describes ways to label historical data for machine-learning trend strategies. Its basic method smooths closing prices with a Savitzky–Golay filter, estimates trend direction from the smoothed series, and normalizes the gradient by rolling price…

Machine learningTrend followingForexStatistics
MQL5 articles

The article addresses the challenge of choosing a technical indicator’s lookback period: short periods can react to noise, while long periods may lag. It proposes feeding readings from many periods into a dimension reduction method, focusing on UMAP to…

ForexTechnical indicatorsMachine learningStatistics
MQL5 articles

This educational article introduces the Moore–Penrose pseudoinverse and begins a from-scratch MQL5 implementation using arrays rather than the language’s built-in matrix tools. It first demonstrates the library pseudoinverse result for a small matrix, then…

Machine learningStatistics
MQL5 articles

The article describes an object-oriented MQL5 wrapper for running a model exported in ONNX format inside MetaTrader 5. It outlines the inference lifecycle: load the model, define input and output tensor shapes, pass a fixed-size feature vector to the…

Machine learningExecutionRisk management
MQL5 articles

This article adapts a single-layer convolutional neural network (CNN) for a trading signal in MQL5. It explains padding input matrices, convolving kernels across data, applying activation, and pooling feature maps; it also discusses backpropagation for…

Machine learningTechnical indicatorsBacktesting
MQL5 articles

This article describes a spectrum-fitting stage in a multifractal modeling pipeline. Starting from a scaling function τ(q), it uses a Legendre transform to estimate the singularity spectrum f(α), with a central finite-difference approximation for the…

StatisticsVolatilityMachine learningBacktesting
MQL5 articles

The article introduces Go-Explore as a reinforcement learning approach for problems with sparse rewards and difficult exploration. Rather than immediately optimizing a policy, it first explores and archives visited states and the action paths used to reach…

Machine learningStatisticsBacktestingForex
MQL5 articles

This article outlines a machine learning pipeline that converts market data into RGB images for neural network analysis. Price, technical indicators, and oscillators are assigned to color channels, with candlestick shapes added to represent candle patterns.…

Machine learningTechnical indicatorsForexStatistics
MQL5 articles

This article explains ant colony optimization (ACO), a population-based stochastic search method inspired by ants using pheromone trails to guide one another. In the traveling salesperson example, artificial ants build routes through a graph by choosing…

Machine learningStatistics
MQL5 articles

This article explains SAMformer, a compact Transformer approach for long-horizon multivariate time-series forecasting, and describes its proposed remedies for unstable training. The architecture uses channel-wise attention, a residual connection, a linear…

Machine learningStatisticsEquities
MQL5 articles

This article presents an implementation of ATFNet, a multivariate time-series forecasting approach that combines two forecasting paths. The T-Block models patterns in the time domain, while the F-Block analyzes periodic and global structure in the frequency…

Machine learningStatisticsBacktesting
MQL5 articles

The article tests whether supervised learning can improve three previously weak signal patterns based on the Gator oscillator and the Accumulation/Distribution oscillator. Its proposed filter is a one-dimensional CNN that periodically applies dot-product…

Machine learningForexTechnical indicatorsBacktesting
MQL5 articles

The article explains Closed-Form Policy Improvement (CFPI), an offline reinforcement learning method designed to improve an agent’s policy while keeping its actions near those represented in historical data. It motivates a first-order approximation of the…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains Random Encoders for Efficient Exploration (RE3), a reinforcement learning method for encouraging agents to explore high-dimensional state spaces. It estimates state novelty from distances to nearby states in a low-dimensional…

Machine learningStatisticsRisk management