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

This article describes an Expert Advisor that represents market conditions as vertices in a state-transition graph. It discretizes normalized trend, volatility, and momentum measures, counts transitions between states, smooths and decays those counts, then…

Machine learningStatisticsRisk managementPosition sizing
MQL5 articles

The article develops a machine learning mean reversion system for EURGBP, covering trade labeling, market regime identification, model training, and deployment in MetaTrader 5. It contrasts random horizon labels with labels based on how far prices deviate…

ForexMean reversionMachine learningBacktesting
MQL5 articles

The article describes a binary genetic algorithm as an evolutionary method for optimizing parameters. Candidate solutions are encoded as binary chromosomes, with genes representing parameter values; the implementation uses Gray code to encode positive…

Machine learningStatisticsBacktesting
MQL5 articles

The article walks through adapting a supervised PatchTST time-series model for use from an MQL5 expert advisor. It explains the model’s use of reversible instance normalization to normalize inputs and restore forecast scale, decomposition into trend and…

Machine learningForexStatistics
MQL5 articles

The article explains how to build, train, and test deep neural networks with the darch package in R. It contrasts unsupervised layer-wise pretraining using restricted Boltzmann machines or autoencoders with training a multilayer network from initialized…

Machine learningStatisticsBacktesting
MQL5 articles

The article describes three complementary methods for reducing the chance that a strategy’s backtest reflects historical noise: Validation-within-Validation (V-in-V), Combinatorially Purged Cross-Validation (CPCV), and Combinatorially Symmetric…

BacktestingStatisticsMachine learning
MQL5 articles

The article adapts the deterministic Dendritic Cell Algorithm, originally developed for anomaly detection, to continuous optimization. It maps candidate solutions to antigens, fitness to danger and safe signals, and agents’ maturation cycles to decisions…

StatisticsMachine learning
MQL5 articles

The article examines whether random number generator quality affects stochastic population optimizers. It distinguishes pseudorandom generators from true random sources, reviews common generator families, and describes a 64-bit Mersenne Twister…

StatisticsBacktestingMachine learning
MQL5 articles

The article presents the Electromagnetism-like algorithm, a population-based metaheuristic for unconstrained continuous optimization. It models candidate solutions as charged particles: objective-function scores determine attraction or repulsion, and the…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains SARSA, an on-policy reinforcement-learning method, and describes using it as an independent signal model in an MQL5 Expert Advisor. Its Q-value update uses the action actually selected in the next state under the agent’s current policy,…

Machine learningForexRisk managementStatistics
MQL5 articles

Chaos Game Optimization (CGO) is a population-based method for searching multidimensional spaces. Agents begin at random positions within defined bounds. Each agent samples a subgroup, calculates its average position, and generates a candidate using one of…

StatisticsMachine learningBacktesting
MQL5 articles

The article describes an ensemble for a moving average channel Expert Advisor. The channel uses moving averages of high and low prices to generate breakout signals, while a Ridge Regression model uses the same technical indicators. Trades are allowed only…

ForexBreakoutTechnical indicatorsMachine learning
MQL5 articles

The article explains batch normalization as a way to normalize neuron activations during training, aiming to reduce changes in the distributions passed between network layers. It describes calculating a batch mean and variance, standardizing values, then…

Machine learningStatistics
MQL5 articles

The article describes a proposed MetaTrader 5 strategy that combines a deep learning model’s next-close predictions with sentiment scores derived from news headlines and descriptions. In the backtest, a position is taken only when the direction implied by…

CryptoSentimentMachine learningBacktesting
MQL5 articles

This article explains polynomial regression as linear regression on features formed by raising inputs to different powers. That lets a model fit curved relationships while remaining linear in its coefficients. It walks through forming the normal-equation…

Machine learningStatisticsBacktesting
MQL5 articles

This article introduces conformal prediction and MAPIE as tools for adding uncertainty estimates to existing machine-learning forecasts. A model is trained on one dataset, then conformity scores from a separate calibration set are used to form prediction…

Machine learningStatisticsRisk management
MQL5 articles

This article experimentally examines ways to improve bagged neural-network classifiers built from market data. It prepares indicator and OHLC-derived predictors, ranks features, and compares three treatments for noisy training examples: correcting their…

Machine learningStatisticsBacktesting
MQL5 articles

The article adapts the immune-inspired Dendritic Cell Algorithm (DCA), originally developed for anomaly detection, into a population-based optimization method. It maps candidate fitness to danger and safety signals, which dendritic cells accumulate over…

StatisticsMachine learningBacktesting
MQL5 articles

This article outlines an enhanced Chaos Optimization Algorithm intended to search complex, multimodal objective functions. Its three phases combine a broad search driven by chaotic maps, a weighted-gradient search that accounts for constraints, and a local…

Machine learningStatisticsBacktesting
MQL5 articles

The article describes a unidirectional gold trading workflow that combines K-Means clustering with CatBoost classifiers. Rolling standard deviations of closing prices form both the main model’s features and separate meta-features used to identify market…

CommoditiesTrend followingMachine learningBacktesting
MQL5 articles

The article explains how to use MQL5’s Alglib classes to build a basic perceptron for testing trading ideas in an Expert Advisor. It outlines the roles of network setup, training data, training routines and forward processing, and describes normalizing input…

Machine learningBacktestingStatistics
MQL5 articles

The article describes the Artificial Searching Swarm Algorithm (ASSA), a population-based method for optimizing difficult, potentially discontinuous or mixed-type objective functions. Each agent can move toward a recently improved agent in response to a…

Machine learningStatisticsBacktesting
MQL5 articles

This article introduces Multitask-Stockformer, a stock-selection framework that combines wavelet decomposition with temporal, convolutional, and graph attention components. A discrete wavelet transform separates historical asset data into low-frequency…

EquitiesMachine learningTechnical indicatorsStatistics
MQL5 articles

This article describes an architecture for running multiple LLM trading agents in parallel in MetaTrader 5. Rather than pooling agent opinions into a consensus, each agent follows a distinct trading philosophy and has its own notional capital, performance…

Machine learningExecutionBacktestingRisk management