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 explains how an MQL5 trading library can respond to errors returned after submitting an order request. It groups responses by the action they call for: continue after acceptance, disable trading, stop the current method, correct request…

ExecutionRisk management
MQL5 articles

This article presents a logging framework for MQL5 trading software, intended to make debugging larger Expert Advisors, indicators, and scripts more structured than scattered print statements. It defines severity levels from debugging detail through fatal…

ExecutionRisk management
MQL5 articles

The article describes extending a MetaTrader replay system with a separate study class while the main mouse and replay code continues to develop. It compares deriving the new class from an existing study class with keeping the work independent, and explains…

Execution
MQL5 articles

The article explains a Moving Mini-Max indicator inspired by a simplified analogy to quantum tunneling. It transforms a price window into normalized values using transition probabilities across nearby prices. One version emphasizes local minima and another…

Technical indicatorsTrend followingStatistics
MQL5 articles

The article outlines a Windows-based workflow for using R with MetaTrader 5. It connects RStudio to the terminal through reticulate and the MetaTrader 5 Python library, then uses an MT5R package and a terminal-side Expert Advisor to handle communication and…

Machine learningExecutionTechnical indicators
MQL5 articles

The article explains how fuzzy membership functions can represent degrees of upward trend, flat conditions, and downward trend. It builds an indicator by comparing a short-period exponential moving average of typical price with the upper and lower boundaries…

Technical indicatorsTrend followingStatistics
MQL5 articles

The article presents a manual way to isolate compile-time errors in MQL code. Temporarily comment out large logical blocks, compile the remaining program, then restore the blocks one at a time. When compilation fails again, inspect the newly restored section…

Technical indicators
MQL5 articles

The document describes a manual workflow for creating labeled time-series datasets from market charts. Instead of splitting a price series into separate files by trend direction, it adds a trend-group field to each observation so that the original…

Machine learningStatisticsForex
MQL5 articles

The article presents a multi-symbol Expert Advisor that estimates a separate volatility signature for each instrument and uses it to adjust stop-loss distance. It collects historical hourly bars and derives features such as candle ranges, wick sizes, return…

ForexVolatilityRisk managementPosition sizing
MQL5 articles

The document explains dynamic time warping (DTW) as a way to compare a candidate price sequence with a reference pattern despite differences in timing or pace. It outlines how pairwise distances form a matrix, how cumulative costs identify a minimum-cost…

Technical indicatorsStatisticsBacktesting
MQL5 articles

This article refactors pending trade requests into an extensible object model for an MQL5 trading library. A shared abstract base object holds properties common to requests, while six specialized descendants represent opening or closing positions, modifying…

ExecutionMarket microstructure
MQL5 articles

This tutorial describes an MQL5 Expert Advisor that derives ascending lines from recent swing lows and descending lines from swing highs, then trades price interactions with those lines. It distinguishes bounce entries from breakout entries: a bullish or…

BreakoutTechnical indicatorsTrend followingExecution
MQL5 articles

The article outlines a remote risk manager for MetaTrader 5 accounts, focusing on automated limits intended to constrain losses and reduce decisions made under pressure. It describes tracking drawdown on balance and equity, enforcing daily and weekly loss…

ForexRisk managementPosition sizingExecution
MQL5 articles

This interview presents one programmer-trader’s experience building Expert Advisors for forex and competing in an automated trading championship. He favors relatively simple systems, argues that strategy-specific money and risk management require careful…

ForexTrend followingRisk managementPosition sizing
MQL5 articles

This article presents a two-stage machine learning workflow for filtering Bollinger Band mean-reversion signals. A primary strategy supplies direction when price reaches an outer band; a secondary classifier estimates whether to take that trade. Its…

Mean reversionMachine learningTechnical indicatorsPosition sizing
MQL5 articles

The article describes a machine learning workflow for searching for time-based patterns in forex trading. A filter selects bars by hour or weekday, and the labeling process keeps only examples that meet that condition. The same filter restricts trade entries…

ForexMachine learningStatisticsBacktesting
MQL5 articles

The article outlines an automated MQL5 strategy based on mitigation order blocks. Its proposed sequence identifies consolidation ranges, detects a breakout, waits for a subsequent impulsive move, then marks an order block and looks for a return to that zone…

BreakoutMarket microstructureRisk managementBacktesting
MQL5 articles

The article presents a class-based framework for adding trailing stop logic to MQL5 expert advisors. It defines three common controls: the profit threshold that activates trailing, the price movement that triggers another adjustment, and the distance between…

Risk managementExecutionTechnical indicatorsPosition sizing
MQL5 articles

This article explains how an MQL5 expert advisor can subscribe to Depth of Market updates, retrieve the current book, and process its price, volume, and side fields. The event handler receives the symbol whose book changed; initialization subscribes to book…

Market microstructureFuturesExecutionHigh-frequency trading
MQL5 articles

The article describes MQL5 components for managing stop orders around news events. It explains a straddle approach: place buy-stop and sell-stop orders around the current price so a position can open when price breaks in either direction. The article…

Event-drivenForexExecutionRisk management
MQL5 articles

This article explains slice sampling, an MCMC method that can draw from a target distribution using its unnormalized density. For a one-dimensional update, it samples a height beneath the density at the current point, finds an interval around that point by…

Machine learningStatistics
MQL5 articles

This article presents a software design approach for trading robots built around servicing current conditions. Instead of tracking the full history of how an order or position arose, the robot checks its present state on each tick and acts on that state. For…

ExecutionMarket microstructureTechnical indicators
MQL5 articles

This article introduces Gaussian process classification for binary labels and explains why it requires approximate inference. A Gaussian process places a prior over latent functions, which are mapped through a sigmoid to class probabilities. Unlike…

Machine learningStatistics
MQL5 articles

This article begins a series on building an order system for a MetaTrader 5 replay and simulation environment. Its initial design goal is to let the same expert advisor run in a tester and on a live or demo account, while making the simulated server behavior…

ExecutionMarket microstructureBacktesting