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
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 MQL5 Expert Advisors use the CExpertMoney base class to handle position sizing and other money-management decisions. It describes the roles of its initialization, parameter validation, indicator setup, entry-volume, reversal, and…

Risk managementPosition sizingBacktesting
MQL5 articles

This article explains how to generate a neural network Expert Advisor with the MQL5 Wizard and Hlaiman EA Generator. It treats a chart pattern as a sequence of bars preceding a profitable price move, then uses graphical buy and sell signals to create…

Machine learningBacktestingTechnical indicators
MQL5 articles

This article surveys ways for MQL5 programs to access PostgreSQL: a dedicated MQL5 driver, a C++ library through a DLL, the .NET Npgsql driver, or a REST API. It contrasts their setup and maintenance considerations, noting that custom drivers require…

ExecutionBacktestingStatistics
MQL5 articles

This article describes a MetaTrader 5 control system that restricts trading to an explicitly approved set of symbols. Its rationale is to prevent strategy drift, unintended exposure, and unreliable comparisons when traders or Expert Advisors operate on…

Risk managementExecutionForex
MQL5 articles

The article describes an MQL5 analyzer that reconstructs closed round trips from deal history and measures each trade’s maximum adverse excursion (MAE), maximum favorable excursion (MFE), and exit efficiency. It groups deals by position identifier, reads M1…

Risk managementPosition sizingBacktestingForex
MQL5 articles

This article presents a way to enforce a minimum delay between trade operations made by multiple Expert Advisors running in one MetaTrader terminal. A local timestamp works when only one expert is active, but separate experts cannot see one another’s state.…

ExecutionRisk management
MQL5 articles

The article explains L1 trend filtering as a way to estimate a piecewise-linear trend from noisy price data. It contrasts the method with the Hodrick–Prescott filter: penalizing the absolute second differences encourages many of them to become zero, leaving…

Technical indicatorsTrend followingVolatilityStatistics
MQL5 articles

The article describes an MQL5 chart dashboard for monitoring several symbols and timeframes. It brings together bid prices, spreads, price changes, RSI, and ATR-based volatility, with configurable display settings, sorting options, alert thresholds, pulse…

ForexTechnical indicatorsVolatility
MQL5 articles

The article describes using MQL5 to identify and draw trendlines, support, and resistance on a MetaTrader 5 chart. Its trendline examples connect recent price lows for an upward line and highs for a downward line, using copied price history and chart objects…

Technical indicatorsBreakoutForex
MQL5 articles

The document explains the Accumulation/Distribution line as a cumulative measure of money flow derived from each period’s close within its high-low range and the period’s volume. It lays out the money flow multiplier, money flow volume, and running-total…

Technical indicatorsStatisticsForex
MQL5 articles

The article introduces feedforward neural networks through the perceptron, explaining how input, hidden, and output layers pass information forward. Each neuron combines weighted inputs and applies an activation function; the author describes sigmoid and…

Machine learningStatistics
MQL5 articles

The document explains how to construct a MetaTrader 5 custom symbol by averaging OHLC data from multiple instruments. An Expert Advisor collects and validates source symbols, aligns their candles by timestamp, calculates averaged open, high, low, close, and…

Multi-assetForexStatistics
MQL5 articles

The document argues that strong historical backtests cannot ensure an Expert Advisor will remain profitable when market behavior changes. It groups failure patterns into lazy algorithms, which hold positions unusually long and accumulate costs; persistent…

Risk managementPosition sizingBacktesting
MQL5 articles

The article shows why individual asset volatility is insufficient for measuring multi-instrument portfolio risk: it describes each instrument’s variability but omits how returns move together. It introduces sample covariance and arranges pairwise covariances…

Portfolio constructionRisk managementStatisticsMulti-asset
MQL5 articles

The document develops a mathematical framework for estimating order profit and loss while accounting for bid and ask prices, spread, commission, swap, contract size, and currency conversion. It starts with simplified buy and sell calculations, then adds…

ForexExecutionRisk managementStatistics
MQL5 articles

The document explains HyperDet3D, a point-cloud object detector that uses a hypernetwork to adapt Transformer decoder parameters to scene context. It separates learned scene-invariant knowledge, shared across training scenes, from scene-specific knowledge,…

Machine learningStatisticsBacktesting
MQL5 articles

The article describes an MQL5 expert advisor for trading breaks of the previous day’s high and low. It defines a long entry when a bar closes above the upper range and a short entry when a bar closes below the lower range. The approach is intended for hourly…

ForexBreakoutBacktesting
MQL5 articles

The article presents a method for developing a trading strategy by comparing virtual trade outcomes with indicator readings. At the start of each candle, the experiment opens hypothetical long and short positions with stop loss and take profit levels tied to…

Technical indicatorsStatisticsBacktesting
MQL5 articles

The article extends a reinforcement learning trading system based on random decision forests. It addresses overfitting by selecting price increment features and tuning regularization against out-of-bag classification error, then uses Monte Carlo sampling in…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains how to add theme management to MQL5’s built-in dialog, edit, and button classes for a trading administrator panel. It describes the relevant object-oriented concepts and the GUI properties that need updating, including text, button skin,…

Risk management
MQL5 articles

The article explains Feature Aggregated Queries (FAQ), a Transformer technique for video object detection, and considers how temporal features could help models interpret changing market states. Rather than averaging randomly initialized queries from…

Machine learningStatisticsBacktesting
MQL5 articles

This article presents an account-level risk supervisor for MQL5 that sits above a strategy’s entry and exit rules. It tracks equity, peak-to-current drawdown, daily loss, and rapid declines, then assigns one of four operating states: NORMAL, CAUTION,…

Risk managementPosition sizingBacktesting
MQL5 articles

This article shows how to package OpenCL operations in a C++ DLL that can be called from MQL5, as a step toward adding GPU computation to MetaTrader programs. The example exposes functions to enumerate available OpenCL platforms and devices and to add two…

ExecutionHigh-frequency trading
MQL5 articles

This article explains why a multi-currency Expert Advisor or indicator driven only by the current chart’s ticks can miss changes on other symbols, especially in quieter markets. It also discusses the difficulty of aligning bar histories across symbols,…

ForexMulti-assetTechnical indicatorsExecution