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

4,613 documents

MQL5 articles

This article presents reusable MQL5 checks intended to catch invalid trading requests before they reach the broker. It covers validating and normalizing lot sizes against symbol minimums, maximums, and volume steps; checking stop-loss and take-profit…

ExecutionRisk managementPosition sizing
MQL5 articles

The article presents a MetaTrader 5 framework that models validated swing highs and lows as nodes in a graph. It connects those nodes with weighted edges, with costs incorporating ATR-normalized distance, spread, and a noise penalty. On each new bar, an A*…

Technical indicatorsStatisticsRisk managementPosition sizing
MQL5 articles

The article proposes running two versions of an automated strategy at once: one trades its original signals, while the other trades in the opposite direction. Each version is optimized separately, including its stop-loss settings, and the author argues that…

ForexPortfolio constructionRisk managementPosition sizing
MQL5 articles

This example describes a Forex Expert Advisor that combines a model predictive control decision routine with technical indicators and account-level risk adjustments. The routine estimates drift and volatility, adapts its forecast horizon, and searches…

ForexTechnical indicatorsRisk managementPosition sizing
MQL5 articles

This collection of interviews presents varied views from participants in an automated trading championship. The traders discuss how they develop Expert Advisors, what they monitor in testing, and how they think about rule-based trading, strategy design,…

Risk managementPosition sizingTrend followingTechnical indicators
MQL5 articles

This beginner tutorial explains how to build a Heikin Ashi indicator in MQL5, calculate a moving average from its candle data, and use both indicators in an Expert Advisor. It outlines the Heikin Ashi formulas: average the period’s open, high, low, and close…

Technical indicatorsTrend followingRisk managementPosition sizing
MQL5 articles

The article describes an interactive semi-automatic Expert Advisor for planning and placing manual trades from a MetaTrader chart. Users can set an equity-risk percentage and a risk-to-reward ratio, adjust them while the EA is running, and drag a stop-loss…

Risk managementPosition sizingExecution
MQL5 articles

In this championship interview, Matúš German describes a multicurrency Expert Advisor built around trend following. It derives trading channels from the Average True Range indicator, enters when price breaks a channel, and holds positions until price crosses…

ForexTrend followingBreakoutTechnical indicators
MQL5 articles

The document presents a fluent builder pattern for constructing MQL5 trade requests. Instead of assigning fields in an MqlTradeRequest directly, a developer chains methods for symbol, volume, direction, order type, price, and stop levels. The builder tracks…

ExecutionRisk managementPosition sizing
MQL5 articles

This article describes an object-oriented MQL5 Expert Advisor designed to help traders place pending orders from chart-selected prices. Its examples cover adjusting prices to an instrument’s tick size, calculating contract volume and monetary take-profit and…

ExecutionRisk managementPosition sizingFutures
MQL5 articles

This introductory article explains how a risk-management class for MetaTrader 5 could track daily, weekly, total, and per-trade losses, as well as profits. It describes setting thresholds, checking account conditions during operation, and stopping or closing…

Risk managementPosition sizingExecutionForex
MQL5 articles

The article describes an include-file risk manager for MetaTrader 5 expert advisors. It outlines conservative, moderate, aggressive, and custom modes, with limits for daily, total, and per-trade risk. It also compares balance-based and equity-based drawdown…

Risk managementPosition sizingGrid tradingExecution
MQL5 articles

In this championship interview, developer Vladimir Tsyrulnik describes an automated USD/JPY approach that interprets market state at selected points in a bar’s lifetime. Its directional forecast is based on an index derived from Bulls/Bears Power, with other…

ForexTechnical indicatorsTrend followingRisk management
MQL5 articles

This article outlines an intraday Expert Advisor built around pullbacks to an exponential moving average. Trend direction is inferred from price relative to the average, while an interaction is identified when a candle crosses the line and closes back on the…

ForexTrend followingTechnical indicatorsRisk management
MQL5 articles

The article turns Larry Williams’ smash day reversal idea into objective rules for an Expert Advisor. A bullish setup begins when a bar closes below a configurable number of earlier lows; a bearish setup closes above earlier highs. Outside bars are excluded,…

Technical indicatorsBreakoutMean reversionRisk management
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 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 starts with a manual hourly trading strategy built from ADX, the Relative Vigor Index, and the Accelerator Oscillator. It specifies directional entry conditions requiring agreement among all three indicators, then uses fixed position size,…

Technical indicatorsForexRisk managementPosition sizing
MQL5 articles

This article develops a pending-order strategy based on unusually high tick volume during a candle. It compares current volume with the average from a chosen number of closed candles, then scales the threshold according to a base deviation and an additional…

ForexMomentumBreakoutPosition sizing
MQL5 articles

The article discusses account-model differences that matter when adding automation to a MetaTrader Expert Advisor. Netting accounts combine trades in a symbol into one position with an average price, while hedging accounts keep positions separate and can…

ExecutionRisk managementPosition sizing
MQL5 articles

This article compares trailing stops, partial position reductions, and opening several positions with the same stop but staggered profit targets. Its main example uses five entries with reward-to-risk targets from 1.3 to 1.7. It calculates basket outcomes by…

Risk managementPosition sizingBacktestingForex
MQL5 articles

The article presents a way to preserve an Expert Advisor’s internal state across terminal restarts by serializing a fixed-size structure to a binary file. Examples of state worth saving include trade counts, win and loss streaks, lot multipliers, equity…

Risk managementPosition sizingExecution
MQL5 articles

The article applies category-theory naturality squares to classify price-change data across three linked currency pairs. USDJPY forms the source series, while EURJPY and EURUSD form the paired destination series. The proposed construction connects their…

ForexArbitrageMachine learningStatistics