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 article describes creating continuous time charts in MetaTrader 4 by inserting bars for intervals with no price changes. Its process has two stages: build a history file that fills gaps using the preceding close as the inserted bar's open, high, low,…

ForexTechnical indicators
MQL5 articles

This article turns divergence logic previously embedded in an adaptive SuperTrend implementation into a standalone MQL5 module. The engine groups oscillator calculation, pivot detection, divergence classification, and state memory, and offers setup, update,…

Technical indicatorsMomentumStatistics
MQL5 articles

This article explains how an MQL5 library can detect and report account trading events. It separates event identification for hedging and netting accounts, using changes in pending order counts, position counts, position volumes, and modification times.…

ExecutionMarket microstructure
MQL5 articles

The article develops an MQL5 indicator that combines trend, momentum, and volatility into a rolling market score. Trend is measured by the linear-regression slope of prices in a window, momentum by the price change across that window, and volatility by…

Technical indicatorsTrend followingMomentumVolatility
MQL5 articles

This article introduces eigenvalues and eigenvectors as tools for examining relationships among measured variables. It distinguishes principal component analysis, which forms orthogonal components that capture variance, from factor analysis, which models…

StatisticsFactor investingTechnical indicatorsVolatility
MQL5 articles

The article explains the Donchian Channel as a trend-following indicator built from the highest high and lowest low over a chosen lookback period, with a midpoint halfway between them. It describes watching for price to break above the upper boundary or…

Technical indicatorsTrend followingBreakoutRisk management
MQL5 articles

This article shows how to adapt an MQL5 automation class to several indicator-driven trading models. Its first example uses a 9-period exponential moving average: the EA checks for a new bar, reads current and earlier indicator values, and triggers a buy or…

ForexTechnical indicatorsTrend followingExecution
MQL5 articles

The article tests the claim that the direction of the Asian session determines subsequent trading. Its MQL4 Expert Advisor labels a chosen session bullish, bearish, or neutral by comparing its opening and closing prices. It then examines a fixed number of…

ForexStatisticsBacktestingTechnical indicators
MQL5 articles

The article presents a method for adding smaller trades as a larger initial position moves into profit. The main trade acts as an anchor: after it reaches a specified gain, a smaller auxiliary trade is opened in the same direction with a stop that can lose…

ForexTrend followingMomentumPosition sizing
MQL5 articles

The article describes an MQL5 framework that turns chart rectangles into managed supply and demand zones. A CZone class stores each zone’s price boundaries, type, source, age, breakout tracking, and visual state, while a dynamic object collection tracks…

ForexTechnical indicatorsBreakoutVolatility
MQL5 articles

Signal Pulse is an Expert Advisor that seeks potential reversals by requiring Bollinger Band and Stochastic conditions to align across M15, M30, and H1. A buy signal occurs when price reaches the lower band on all three timeframes and Stochastic is oversold;…

ForexMean reversionTechnical indicatorsBacktesting
MQL5 articles

Blood Inheritance Optimization (BIO) is a population-based method for searching parameter spaces. It assigns each candidate one of four blood-type labels and uses an inheritance table to choose a label for each new candidate based on its two parents. Parents…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains how an option chain can reveal the market-implied distribution of an underlying’s price at expiry. It uses the Breeden-Litzenberger result: the second strike derivative of call prices, adjusted for discounting, gives a risk-neutral…

OptionsDerivatives pricingVolatilityStatistics
MQL5 articles

The article introduces random forests as ensembles of decision trees trained on bootstrap samples and randomized feature subsets. It explains how tree voting can reduce variance, describes out-of-bag evaluation, and outlines strengths such as modest…

Machine learningStatisticsBacktestingTechnical indicators
MQL5 articles

This tutorial explains how to retrieve information from a website using MetaTrader 5’s MQL5 network functions, save the response, and locate a target value within the downloaded page. It begins with choosing a source and allowing that site in the platform’s…

ExecutionMarket microstructure
MQL5 articles

The article describes a MetaTrader method for investigating whether trend direction signals perform better at particular hours. Its example Expert Advisor combines a short-term higher-timeframe moving-average direction check with a daily MACD direction…

ForexTrend followingTechnical indicatorsBacktesting
MQL5 articles

This article describes building a basic grid Expert Advisor for both MetaTrader 4 and MetaTrader 5. It introduces conditional compilation to handle differences between the platforms and a shared order-placement interface. The trading concept places staggered…

Grid tradingBacktestingRisk management
MQL5 articles

This article explains why and how to move custom indicator calculations into an Expert Advisor. It identifies two motivations: avoiding recalculation on the forming bar when the EA does not need that value, and keeping commercial EA logic less exposed. An…

Technical indicatorsExecution
MQL5 articles

This article argues that a reliable, responsive Expert Advisor should focus on managing and analyzing orders and positions, while auxiliary chart features and data displays should run separately. It demonstrates moving wallpaper and Volume At Price…

ExecutionMarket microstructure
MQL5 articles

This article advocates finite-state automata as a way to design and implement Expert Advisor logic. It argues that informal design notes, a developer’s mental model, and program code can diverge, making complex behavior hard to review and maintain. The…

Risk managementStatistics
MQL5 articles

This article describes a MetaTrader 5 indicator that turns a fast and slow EMA crossover into a charted sequence of synthetic future candles. It anchors the projection to the crossover on a closed bar, measures the EMA slope there, and propagates that slope…

Technical indicatorsMomentumRisk management
MQL5 articles

This article explains how to add an Account History view to MetaTrader 4’s strategy tester visualization. It uses information already available in the tester’s results rather than building a separate copy of the terminal account history. An indicator…

BacktestingExecutionRisk management
MQL5 articles

The article surveys MQL5 cryptographic functions for encrypting, hashing, encoding, and compressing data used in trading programs. It explains the roles of the CryptEncode and CryptDecode functions, distinguishes reversible encryption from irreversible…

Risk managementExecution
MQL5 articles

This programming guide explains how MQL5 Standard Trade classes can support Expert Advisors that inspect account and symbol properties, check margin, manage positions and pending orders, and retrieve order and deal history. It describes classes for account…

ExecutionRisk managementPosition sizing