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

3,012 documents

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 explains how a binomial distribution models the count of successes across a fixed number of independent trials with a constant success probability. It maps wins and losses to successes and failures, then describes an MQL5 visualization tool that…

StatisticsRisk managementBacktesting
MQL5 articles

This article presents HedgeTerminal, a MetaTrader 5 panel and library that represents a trader’s net obligations as separately manageable long and short positions. MetaTrader 5 normally aggregates exposure into a net position, while MetaTrader 4 supports…

ExecutionMarket microstructureRisk management
MQL5 articles

The article explains money management as control over the loss a trade can incur, rather than as a formula that scales lots only with account balance. It argues that strategy performance depends on win rate, average win, and average loss, and that losses…

Risk managementPosition sizingForex
MQL5 articles

The article develops a reusable MQL5 framework for finding and displaying price patterns in timeseries data. It proposes an abstract base pattern class with specialized pattern classes, plus management objects that let a timeseries search for multiple…

Technical indicatorsStatistics
MQL5 articles

The article proposes replacing fixed RSI thresholds with levels based on the indicator’s observed range in the market being traded. Its motivation is that conventional overbought and oversold readings may be absent for extended periods, while simply changing…

Technical indicatorsBreakoutVolatilityBacktesting
MQL5 articles

The article explains the design of an MQL4 library for common matrix operations. It stores each matrix as a row-major, one-dimensional array and keeps row and column counts separately, then groups functions for resizing, row and column manipulation,…

StatisticsTechnical indicators
MQL5 articles

This article extends a Strategy Builder based on Merrill patterns with additional testing and reporting options. The prior version summarized results in points; the update lets users measure profit in points or account currency, set an initial deposit, and…

BacktestingForex
MQL5 articles

This article replaces an augmented Lagrangian optimizer in an MQL5 volatility-model library with Sequential Least Squares Programming (SLSQP). The motivation is a mismatch between parameter estimates from the MQL5 implementation and Python’s ARCH module,…

VolatilityStatisticsBacktesting
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 explains how an MQL5 Expert Advisor can obtain indicator handles and read indicator-buffer values. It covers two routes: creating a handle with IndicatorCreate() and using a technical-indicator function. IndicatorCreate() accepts indicator type…

Technical indicatorsExecution
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

This article presents a reusable execution layer for MQL5 Expert Advisors. It separates transient submission failures, such as requotes or temporary connection loss, from permanent rejections such as invalid stops or insufficient margin. A retry executor…

ExecutionRisk managementMarket microstructure
MQL5 articles

This installment explains the first part of an MQL5 order-management class that receives chart-trading events and sends market buy or sell requests to a trading server. It describes decoding event data, selecting the contract, reading its bid or ask and…

ExecutionMarket microstructureRisk management
MQL5 articles

This article describes risk controls and volatility estimation for emulated option strategies. For long option structures, it adds an early exit when the underlying reaches a selected rebalancing level; the trader can choose the level and stop trading for…

OptionsVolatilityRisk managementBacktesting
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 outlines a pipeline for characterizing multifractality in EURUSD five-minute returns. Starting from partition-function slopes calculated in an earlier installment, it extracts the scaling function tau(q), estimates the Hurst exponent using…

ForexStatisticsVolatilityRisk management
MQL5 articles

This article describes changes needed to add a SimpleCandles strategy to a modular, multi-currency Expert Advisor project and its automated optimization workflow. It emphasizes keeping reusable library code independent from project-specific logic, then…

BacktestingExecutionForex
MQL5 articles

This article explains how to coordinate components in an MQL5 Expert Advisor without shared global variables. It proposes a publish-subscribe event bus: components publish typed events, and registered listeners receive the events they need through a central…

ExecutionMarket microstructureRisk management
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