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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

This article explains how to turn price action market structure into an MQL5 indicator. It classifies bullish structure through successive higher highs and higher lows, bearish structure through lower highs and lower lows, and consolidation when these…

Technical indicatorsBreakoutMomentum
MQL5 articles

This installment improves a MetaTrader 5 market replay tool by handling failures around its chart control indicator. The service depends on a terminal global variable shared with the indicator; when the indicator is removed or its chart closes,…

ExecutionRisk management
MQL5 articles

The document introduces Bayesian inference as a way to update probabilities as new evidence arrives, then applies the idea to several components of an MQL5 trading system: signal generation, money management, and trailing stops. For signals, it uses…

Machine learningStatisticsRisk managementBacktesting
MQL5 articles

The article describes adding reinforcement learning to a multilayer perceptron (MLP) in an MQL5 trading system. Q-learning is used to guide model training rather than act as the direct signal generator. The market environment is represented by combinations…

Machine learningStatisticsBacktesting
MQL5 articles

The document explains semi-supervised and active learning, then describes how a classifier can use unlabeled examples to guide which labels to request. It outlines assumptions that support learning from unlabeled data, including nearby points tending to…

Machine learningStatisticsBacktesting
MQL5 articles

The document introduces William Blau’s approach to building technical indicators from price data. It describes a four-stage process: calculate an initial indicator, smooth it with successive exponential moving averages (EMAs), normalize the smoothed series…

Technical indicatorsMomentumTrend followingMean reversion
MQL5 articles

The article develops a grid-like martingale EA that opens additional positions at fixed adverse price intervals, increasing trade size along the chain. It closes the whole basket when aggregate profit reaches a configured target. Since the approach can…

Grid tradingForexEquitiesRisk management
MQL5 articles

The article addresses the cost of recalculating custom indicators over full price history after synchronization events. It proposes a class that tracks calculated data separately, preserves a bounded history in a ring buffer, and reports whether data was…

Technical indicatorsExecutionStatistics
MQL5 articles

This introductory article explains simple linear regression as a straight-line model relating one predictor to a target. It presents the slope and intercept, then uses Pearson correlation to assess linear association before choosing predictors. Its worked…

StatisticsEquitiesTechnical indicatorsPairs trading
MQL5 articles

The article introduces artificial neurons and multilayer networks, describing inputs, weights, weighted sums, activation functions, and how learning changes weights. It explains scaling inputs to a bounded range and compares step, sigmoid, and hyperbolic…

Machine learningTechnical indicatorsBacktestingForex
MQL5 articles

The article describes an on-chart MetaTrader 5 tool that estimates selected market-microstructure signals from broker-provided ticks when full depth-of-market data is unavailable. It combines a tick-derived VWAP reference, directional tick-volume imbalance,…

Market microstructureTechnical indicatorsExecutionRisk management
MQL5 articles

This educational programming article explains how matrix calculations can express geometric transformations more compactly than scalar formulas. It uses an MQL5 chart indicator and canvas drawing to illustrate rotating and scaling an arrow, then compares…

Statistics
MQL5 articles

The article presents the two-sample Kolmogorov–Smirnov test as a distribution-free way to compare financial return samples from different periods. It explains the null hypothesis that both samples share a distribution, the maximum gap between their empirical…

StatisticsBacktestingTechnical indicators
MQL5 articles

The article examines a reverse martingale approach in which a losing trade is followed by an opposite-direction trade with increased size, aiming for a later win to recover prior losses. It discusses practical settings based on the author’s tests:…

ForexRisk managementBacktesting
MQL5 articles

The article describes a VWAP-based signal tool that connects a MetaTrader Expert Advisor with a Python analysis service. The EA gathers recent candle prices and volume, checks for invalid values, saves the data, and sends it for processing. Python libraries…

Technical indicatorsExecutionForex
MQL5 articles

The article explains why neural networks used in trading may benefit from scaling their inputs. It introduces z-score normalization, which centers values around their mean and scales by standard deviation, and min-max normalization, which maps values using…

Machine learningStatisticsTechnical indicators
MQL5 articles

The article presents an MQL5 framework for applying trading restrictions through one central validation engine shared by an Expert Advisor and a chart dashboard. The engine checks whether a symbol is approved, whether the current time falls within allowed…

Risk managementExecution
MQL5 articles

This article describes an MQL5 Expert Advisor that monitors multiple forex and metal symbols from one chart and generates signals when a fast RSI crosses a slow RSI. It explains symbol selection modes, including trading the chart symbol alone or choosing…

ForexTechnical indicatorsMomentumBacktesting
MQL5 articles

The article explains partial position closing as a way to realize some gains at predefined price levels while leaving the rest of a trade open. It describes placing intermediate targets between entry and the original take-profit, with levels calculated as…

Risk managementPosition sizingBacktesting
MQL5 articles

This article describes an Expert Advisor that helps traders search a large symbol universe by filtering instruments and simplifying chart navigation. Its configurable filters can exclude symbols based on Market Watch presence, open positions, spread, price…

EquitiesForexTechnical indicatorsExecution
MQL5 articles

This article proposes transforming financial price changes into a lower-dimensional representation with a Restricted Boltzmann Machine (RBM), then passing that representation to a multilayer perceptron (MLP) that predicts a subsequent price change. It…

Machine learningStatisticsBacktesting
MQL5 articles

This article lays out the design and MQL5 implementation of a chart-based panel for manual Forex trading. Its proposed controls include buy and sell actions, position-closing buttons, editable stop-loss and take-profit settings, and displays of account and…

ForexRisk managementPosition sizingExecution
MQL5 articles

This article explains how to turn a rendered chart sidebar into an interactive drawing palette in MQL5. It describes a modular design with a tool registry, canvas layers, layout and hit testing, flyout menus, an event router, and a drawing engine. Users can…

ExecutionTechnical indicators
MQL5 articles

The article extends a multi-currency Expert Advisor risk manager with adaptive position-volume controls and configurable daily and overall loss limits. It discusses calculating thresholds from fixed money amounts, a base balance, or high-water marks for…

Risk managementPosition sizingBacktestingMulti-asset