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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

3,012 documents

MQL5 articles

The article shows how to replace scattered conditional logic in an Expert Advisor with a finite state machine. A context object delegates each tick to one active state, while separate states handle idle signal scanning, order submission, open-position…

ExecutionRisk management
MQL5 articles

The article outlines a Python and MetaTrader 5 workflow for searching historical forex bars for recurring sequences of price directions. It converts close-to-close changes into up or down labels, tests sequences of varied lengths, and records whether the…

ForexStatisticsTechnical indicatorsBacktesting
MQL5 articles

The article explains how to build an EquiVolume display in MQL5, encoding each bar’s high-to-low price range vertically and its trading volume horizontally. It selects real volume when available and otherwise uses tick volume, finds the largest volume in a…

Technical indicatorsStatisticsMarket microstructure
MQL5 articles

This article presents a state-based template for ZigZag indicators that switch direction when price crosses a slowing level. For the example, the level trails the current segment's extreme by a fixed point distance: a rise from a temporary low or fall from a…

Technical indicatorsStatisticsBacktesting
MQL5 articles

This article introduces graphical panels as interfaces for trading actions and account information in MetaTrader 5. It surveys built-in Panels and Dialogs controls, including labels, buttons, editable fields, check boxes, and dialogs, then walks through a…

ExecutionPosition sizing
MQL5 articles

This article describes a file-based filter that reads a Forex Factory calendar CSV into structured event records and checks whether the current broker server time falls within a configured news window for a symbol. Its components parse dates, times,…

ForexEvent-drivenExecutionRisk management
MQL5 articles

This article explains a classic hedge cycle that alternates buy and sell positions after each stop loss. Each new position doubles the previous lot size, aiming for a fixed net gain when price eventually reaches one of two take profit levels. The author also…

ForexGrid tradingPosition sizingRisk management
MQL5 articles

This article explains a range error that can occur when a replay system uses an indicator on a custom symbol chart with too few bars. The mouse indicator previously needed several buffer positions; changing to a higher timeframe could leave fewer chart bars…

BacktestingMarket microstructureExecution
MQL5 articles

The article translates the Turtle Soup and Turtle Soup Plus One setups into MQL5 rules and discusses testing them in MetaTrader 5. Both strategies look for a reversal after price moves beyond a 20-day range extreme. For a long setup, the basic version…

Mean reversionBreakoutBacktestingTechnical indicators
MQL5 articles

The article presents a reusable MQL5 monitoring class intended to make an Expert Advisor’s internal activity easier to inspect. The motivation is that logs from multiple EAs share the terminal’s Experts tab, making events difficult to isolate. The proposed…

ExecutionRisk management
MQL5 articles

This installment of a MetaTrader 5 replay-system series addresses timing errors in one-minute bar creation and improves how replay ticks reach Market Watch. It moves timestamp construction to the tick-file loading stage, then uses the stored timestamp when…

Market microstructureBacktestingExecution
MQL5 articles

The article compares account-level netting and hedging in MetaTrader 5. Under netting, deals on a symbol aggregate into one position: same-direction trades increase volume, while opposite trades reduce, close, or reverse it. Under hedging, trades create…

ForexRisk managementExecution
MQL5 articles

This article explains a proof-of-concept visual form editor for MQL programs that use a markup system for standard-library interface components. It separates the application into an Inspector for changing element properties and a Designer that displays the…

Execution
MQL5 articles

This interview profiles a four-person team managing a shared forex signal account. The traders describe combining individual technical analyses, checking them against economic news and the expected daily range, then having two members select the pair and…

ForexTechnical indicatorsRisk management
MQL5 articles

The article describes an MQL5 Expert Advisor that combines Q-learning, cross-pair correlation adjustments, and market features drawn from three timeframes. It represents market observations as an indexed state and scores a set of actions that includes…

ForexMachine learningTechnical indicatorsStatistics
MQL5 articles

The article examines whether swap payments can contribute to returns and describes locking positions across accounts with different swap schedules. It argues that holding offsetting positions can reduce exposure to price direction while the combined swaps…

ForexCarryArbitrageRisk management
MQL5 articles

The article presents a modular way to organize an automated trading system in MQL, a language the author says lacks a built-in object-oriented model for this purpose. It separates the system into signal modules that interpret quotes and indicators, entry and…

Technical indicatorsRisk managementPosition sizing
MQL5 articles

The article proposes a simple chart exercise for practicing short-term market-direction forecasts. At the start of a candle, the program displays up and down arrows; the user removes one to record a prediction. When the candle closes, the program compares…

ForexStatisticsBacktesting
MQL5 articles

The article explains Intelligent Water Drops (IWD), a population-based optimization method inspired by how water flow changes a riverbed. Candidate solutions act as drops that move through a search space. In the original method, drops favor paths with less…

Machine learningStatisticsBacktesting
MQL5 articles

The article applies category theory concepts to an MQL5 money-management example. It treats monoids as rule-based selectors for choices such as timeframe, lookback period, applied price, and indicator. Their selected values, together with a normalized…

Position sizingRisk managementMachine learning
MQL5 articles

The article introduces EA Tree, a graphical tool that creates MQL5 Expert Advisors by connecting typed boxes for indicators, functions, values, conditions, trade actions, and money management. It explains how outputs connect to compatible inputs and how…

Technical indicatorsBacktestingPosition sizing
MQL5 articles

This article describes a workflow that connects an MQL5 Expert Advisor to a Python service for basic analysis of recent daily market data. The EA sends a CSV payload containing historical highs, lows, opens, closes, and volumes over ten days. A Flask…

Technical indicatorsStatisticsExecution
MQL5 articles

The article explains simulated annealing as a stochastic method for searching complex optimization spaces, using the physical analogy of slowly cooling heated metal. It describes starting from an initial candidate, generating neighboring candidates,…

Machine learningStatisticsBacktesting
MQL5 articles

This programming tutorial uses a byte-swapping example to explain why a fixed-width union can produce incorrect results when values have different sizes. Defining separate unions for each value type works, but duplicates the same structure and makes changes…

Technical indicators