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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

3,012 documents

MQL5 articles

This article presents MQL5 measures for studying intraday futures volatility: realized and duration-based volatility, fractional and FIGARCH-inspired volatility, clustering, leverage asymmetry, jump intensity, and multifractal spectrum width. It revises an…

FuturesVolatilityStatisticsMarket microstructure
MQL5 articles

In this interview, trader Leonid Velichkovsky reflects on using neural networks in automated trading and challenges the idea that they produce exceptional profits by themselves. He describes them as trading systems whose adaptive capacity can help detect…

Machine learningBacktestingRisk managementPosition sizing
MQL5 articles

This article completes an MQL5 implementation of a hyperbolic latent diffusion framework for financial time series. It describes projecting inputs into hyperbolic space, mapping embeddings onto tangent planes, and generating centroids and curvature…

Machine learningStatisticsBacktesting
MQL5 articles

This article describes an analyzer for judging whether a backtested strategy’s profits are broadly distributed or depend on a few exceptional trades or days. It defines top-N trade shares against net and gross profit, the Gini coefficient across winners, an…

BacktestingStatisticsRisk management
MQL5 articles

The article introduces Chaikin Volatility (CHV) as a measure of changes in the high-low price range. It explains that rising readings indicate faster price changes, while low readings indicate quieter conditions; CHV measures volatility rather than market…

Technical indicatorsVolatilityBacktesting
MQL5 articles

This article explains BFO-GA, a population optimization method combining bacterial foraging with genetic operators. Bacteria represent candidate solutions and move through the search space using gradient-guided and random movements. Selection, crossover, and…

Machine learningStatistics
MQL5 articles

This article explains HiVT, a hierarchical Transformer approach originally designed to forecast trajectories of multiple road users in autonomous-driving scenes. It represents agent paths and lane segments as vectors, using relative positions to preserve…

Machine learningStatisticsBacktesting
MQL5 articles

The article presents a chart-based interpretation of the Murray system, derived from Gann-related ideas. It divides a chosen price range into eight equal parts, called an octave, then subdivides those intervals into smaller octaves for closer analysis. The…

Technical indicatorsForex
MQL5 articles

This installment of a multi-currency Expert Advisor series outlines how to add a new strategy to an automated optimization workflow. It introduces SimpleCandles, a contrarian idea: after a configurable run of same-direction closed candles, open a position in…

Mean reversionVolatilityPosition sizingBacktesting
MQL5 articles

This article proposes balancing position sizes across instruments using each symbol’s tick value and average daily volatility. It combines those inputs into an estimate of risk per standard contract, then scales position volume relative to the highest…

Multi-assetForexVolatilityPosition sizing
MQL5 articles

The article evaluates a multi-currency Expert Advisor that applies a long-only averaging grid to US stocks. RSI readings trigger entries, positions are added as price moves against the trade, and the number of grid steps is capped; at the limit, existing…

EquitiesGrid tradingMean reversionBacktesting
MQL5 articles

This document describes a reusable MQL5 engine for managing volatility-based trailing stops. It derives stop distance from a simple average of True Range over completed bars, multiplied by a configurable factor. For long positions the stop can ratchet…

VolatilityTechnical indicatorsRisk managementExecution
MQL5 articles

The article reviews alternatives to the Sharpe ratio and implements them for hypothetical equity curves generated from S&P 500 returns. Its drawdown measures include two versions of the Burke ratio, using either net profit or mean returns over an aggregate…

Risk managementStatisticsBacktesting
MQL5 articles

The article tests three simple forecasts for the next candle: repeat the previous candle’s direction, predict the opposite direction, or switch between those rules after a forecast error. Candle direction is defined by whether its close is above, below, or…

ForexTechnical indicatorsBacktesting
MQL5 articles

This article presents an integration pattern for storing and analyzing trading data from MQL4 or MQL5 Expert Advisors in Microsoft SQL Server. Since MetaTrader does not provide direct database-server access, the approach uses a C# class library that exports…

ExecutionStatisticsMulti-asset
MQL5 articles

The article explains how to define bullish and bearish divergence and convergence by relating price and oscillator swings to possible reversal or continuation signals. It notes that common labels can be ambiguous, then proposes a more systematic…

Technical indicatorsMomentumTrend following
MQL5 articles

The article addresses a failure mode in Expert Advisors that keep stop-loss and take-profit levels only in runtime memory: after a terminal shutdown, the EA stops monitoring, while the broker has no knowledge of those virtual levels. It extends an earlier…

Risk managementExecution
MQL5 articles

The article measures how MetaTrader 5 tester runtime and memory use change as the number of strategy instances in a multi-currency Expert Advisor grows. It compares several tick simulation modes, estimates cost per instance per test day, and separates EA…

BacktestingExecutionMulti-asset
MQL5 articles

The article describes connecting a Python forecasting model to an MQL5 Expert Advisor through a TCP socket, so the model can be used in MetaTrader 5 historical tests. The EA sends recent bar data to a Python server, which runs inference and returns a…

Machine learningBacktestingExecution
MQL5 articles

The article describes how to reconstruct closed positions in MetaTrader 5, where historical positions are not directly exposed through the same functions used for open positions. It uses deal history as the source: each deal carries a position identifier,…

Risk managementBacktestingTechnical indicators
MQL5 articles

This installment explains a specialized way to compute the pseudoinverse used to estimate a two-parameter linear relationship for a single neuron. Rather than building a fully general matrix inversion routine, it exploits the structure of the input: a…

Machine learningStatistics
MQL5 articles

The article explains how MQL5 services run independently of charts and how to manage them in MetaTrader 5. A service starts through its OnStart handler; it can perform a one-time task and exit or remain active in a loop until stopped. The examples show…

Multi-assetForexExecution