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

This tutorial explains how to implement the True Strength Index (TSI) as a custom MQL5 indicator. TSI normalizes a double-smoothed close-to-close momentum series by a double-smoothed series of absolute momentum, using two exponential smoothing periods. The…

Technical indicatorsMomentum
MQL5 articles

The article presents a modular design for an Expert Advisor that combines custom and built-in trading signals through the MQL5 Standard Library and Wizard. Signal modules can be developed independently, assigned weights, and given different roles: primary…

Technical indicatorsBacktestingRisk managementTrend following
MQL5 articles

The document outlines classical CAPM and proposes a forex indicator that replaces market beta with a risk premium scaled by a currency pair’s historical volatility. It annualizes volatility using a square-root-of-252 factor, combines the resulting premium…

ForexVolatilityTechnical indicatorsRisk management
MQL5 articles

This article presents a method for tracking the net position volume attributable to a particular Expert Advisor, symbol, and magic number in MetaTrader 5. It adds buy deal volumes and subtracts sell deal volumes, starting from the most recent point in deal…

ExecutionRisk managementBacktestingStatistics
MQL5 articles

This article introduces Market Profile as a price histogram used to interpret auction activity and the balance between supply and demand. It describes balanced sessions as tending toward a bell-shaped distribution, while trending or imbalanced activity can…

Market microstructureTechnical indicatorsMean reversionExecution
MQL5 articles

This programming tutorial explains how to place data and the operations that use it inside an MQL5 structure to give the code a clearer purpose. Its example stores an array and provides methods to set the values and calculate their average and median. The…

Statistics
MQL5 articles

This article proposes a trading system that pairs a discrete Fourier transform (DFT) with a leaky integrate-and-fire spiking neural network. The DFT examines a rolling series of prices or indicators such as MACD and RSI, selects the strongest frequency…

Machine learningStatisticsTechnical indicatorsBacktesting
MQL5 articles

This article presents a constrained, restartable grid Expert Advisor informed by Aldo Taranto’s research on bidirectional grid processes. It contrasts the grid’s accumulating losses across traversed levels with the faster loss growth of martingale doubling,…

Grid tradingRisk managementPosition sizingForex
MQL5 articles

This article introduces Prophet’s trend, seasonality, changepoint, and holiday components, then applies the model to hourly EURUSD data from MetaTrader 5. It defines the target as each bar’s high-to-low range, converts timestamps and volatility into the…

ForexMachine learningVolatility
MQL5 articles

This article builds a historical tester for four candlestick patterns: bullish and bearish pin bars and engulfing patterns. It first defines conditions for detecting each pattern on closed bars, then implements an MQL5 Expert Advisor that opens trades in the…

ForexTechnical indicatorsBacktesting
MQL5 articles

This article improves a MetaTrader 5 Expert Advisor’s chart indicators so traders can identify whether a pending order is for a buy or sell and whether it is intended as a day trade or a longer swing trade. Bitmap icons encode direction and holding period,…

ExecutionRisk management
MQL5 articles

The article studies discrepancies between a quoted EURGBP rate and a synthetic rate derived from EURUSD and GBPUSD, treating deviations as possible trading signals. It reports statistics from two months of five-minute data, including negative skew, heavy…

ForexArbitrageMean reversionMarket microstructure
MQL5 articles

This article shows how to model withdrawals during MetaTrader 5 strategy testing and explains how they affect account balance, equity, and drawdown reporting. It proposes configurable withdrawal schedules and amounts, with withdrawals calculated either as a…

BacktestingRisk managementPosition sizingBreakout
MQL5 articles

The article argues that predictive machine-learning models depend on meaningful inputs and labels, and that associations in historical data do not by themselves demonstrate cause and effect. It introduces causal inference concepts alongside the history and…

Machine learningStatisticsForex
MQL5 articles

This article explains how to extend the CStrategy trading engine with custom Expert Advisors and supporting classes. It presents a Singleton logger that stores typed messages with timestamps, source information, and error details, and describes accessing…

ExecutionTechnical indicatorsBreakout
MQL5 articles

The article explains how to construct a Kagi chart in an MQL5 Expert Advisor. Unlike time-based candlesticks, Kagi lines extend with price movement and reverse only after crossing a chosen threshold. The implementation supports either a fixed price-step…

Technical indicatorsTrend followingBreakout
MQL5 articles

The article introduces genetic algorithms as population-based optimization methods and explains how candidate solutions are represented as chromosomes. It covers binary encoding of integer and floating-point attributes, including Gray coding to make…

Machine learningStatisticsBacktesting
MQL5 articles

This article describes an automated pipeline that combines Smart Money Concepts with a machine-learning filter. A Python process retrieves historical XAUUSD hourly bars, detects Order Block, Fair Value Gap, and Break of Structure events, labels events by…

Machine learningTechnical indicatorsRisk managementBacktesting
MQL5 articles

The article explains partial information decomposition (PID), which separates the information two indicators provide about a target into redundant, unique, and synergistic parts. It describes three alternative redundancy definitions—I_min, I_MMI, and…

StatisticsMachine learningBacktestingTechnical indicators
MQL5 articles

The article describes an MQL5 Expert Advisor for trading breakouts from the Asian session range. It records the session high and low over configurable start and end times, then places pending buy-stop or sell-stop orders beyond the range according to a…

ForexBreakoutTechnical indicatorsRisk management
MQL5 articles

The article presents a binary classifier for predicting the direction of the next Renko bar on EURUSD. It converts five-minute price data into Renko bars using an ATR-based block size, then builds features from recent bar directions, directional streaks, and…

ForexMachine learningTechnical indicatorsStatistics
MQL5 articles

The article explains TimeFound, a Transformer-based foundation model designed to forecast time series across domains, including financial data. Its central preprocessing idea is multi-scale patching: segments at several resolutions are projected into a…

Machine learningStatisticsMulti-asset
MQL5 articles

The article describes a proposed integration of ST-Expert, a graph-based mixture-of-experts approach, with Extralonger, a modular Transformer framework for time-series forecasting. It frames market data as both sequences and networks: assets or time points…

Machine learningStatisticsMulti-asset
MQL5 articles

The article contrasts directional classification with regression for trading forecasts. A classifier predicts direction but not the size of a move, so hit rate alone can conceal the effect of gains and losses. The proposed regression targets measure future…

Machine learningStatisticsForexBacktesting