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

4,613 documents

MQL5 articles

The article describes a money management method that uses a Fenwick tree to organize recent volume data and compare volume across portions of a lookback window. It outlines four proposed sizing modes—linear, conservative, aggressive, and mean-reversion—and…

Position sizingMachine learningRisk managementBacktesting
MQL5 articles

This article describes a self-adapting trading algorithm that analyzes price in variable-sized blocks and opens positions in linked series. Its central addition is a rule for starting another series while an earlier one remains open: the prior series’…

ForexTrend followingMean reversionPosition sizing
MQL5 articles

In this 2011 interview, Sergey Nikitin describes the Expert Advisor that was leading the Automated Trading Championship during its second week. It traded EURUSD and EURJPY, used daily charts to determine trend, and relied on trend-watching indicators.…

ForexTrend followingPosition sizingRisk management
MQL5 articles

The document describes an MQL5 framework for managing related open positions as a single basket. Positions are grouped by an identifier in their comments, then scanned to calculate leg count, long and short volume, aggregate floating profit and loss, and…

Risk managementPosition sizingExecutionMulti-asset
MQL5 articles

Sergey Pankratyev describes the design of his Automated Trading Championship robot, which trades twelve currency pairs through a single complex EA. It uses technical analysis and market reaction data, with parameters adjusted from trade entry and exit…

ForexBacktestingRisk managementPosition sizing
MQL5 articles

The article describes martingale approaches that add to losing positions, either by increasing trade size or scaling into a position at improving prices. The aim is for a later favorable move or pullback to recover earlier losses. It suggests that strict…

Position sizingRisk managementMean reversionForex
MQL5 articles

The article explains how to prepare MetaTrader 4’s visual strategy tester for manual trading experiments. It describes installing the vHandsTrade expert advisor and its supporting files, compiling the advisor, and enabling chart shift so its controls have…

BacktestingExecutionPosition sizing
MQL5 articles

This article describes a MetaTrader panel for estimating how signal-provider trades would scale on a subscriber’s account. Users can set balance, account currency, leverage, and deposit load; the calculator then displays available signals ordered by copy…

Position sizingRisk managementExecution
MQL5 articles

The article proposes a nonlinear regression equation for forecasting prices from two prior observations. Its seven terms combine linear and squared price inputs, a difference representing momentum, a sine component intended to capture cycles, and a constant.…

EquitiesMachine learningStatisticsBacktesting
MQL5 articles

The document describes an MQL5 Expert Advisor that uses automatically detected swing highs and lows to calculate Fibonacci retracement levels and projected extension targets. It focuses on a retracement entry, typically at 61.8%, and uses swing structure to…

Technical indicatorsRisk managementExecutionPosition sizing
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 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

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 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 document explains the MetaTrader signal-copying workflow between a provider’s account and a subscriber’s terminal. A provider’s trades are read through an investor password, relayed by signal servers, then placed through the subscriber’s broker;…

ExecutionPosition sizingRisk management
MQL5 articles

The article describes an Expert Advisor that represents swings, Fair Value Gaps, Order Blocks, and liquidity pools as nodes in a directed graph. It assigns edge capacities using tick volume, prior price reaction, distance, and structure type, then applies a…

StatisticsRisk managementPosition sizingBacktesting
MQL5 articles

The article develops a MetaTrader Expert Advisor that combines Heikin Ashi candles with fractal swing points to identify breakouts. A bullish candle with no lower wick closing above a recent swing high triggers a long setup; a bearish candle with no upper…

BreakoutMomentumPosition sizingBacktesting
MQL5 articles

This installment analyzes a simple grid strategy that adds positions at fixed price intervals, increasing each new order’s size by a multiplier. It explains how weighted average entry price determines breakeven and how the chosen direction, initial lot size,…

Grid tradingPosition sizingRisk managementStatistics
MQL5 articles

The article describes a cross-platform Expert Advisor for MetaTrader 4 and 5 that uses a trader-defined entry and stop-loss level to calculate position size from a fixed dollar or percentage risk budget. It also sets a take-profit level from a configurable…

Risk managementPosition sizingExecution
MQL5 articles

The article describes a multi-symbol Expert Advisor that adjusts risk and trade parameters according to volatility. It uses ATR to inform stop placement and classify volatility into high, moderate, and low risk tiers, with position size derived from account…

ForexMulti-assetVolatilityPosition sizing
MQL5 articles

The article describes a gold-focused Expert Advisor intended to enforce prop firm rules while trading a breakout strategy. It checks available headroom against daily and overall drawdown limits before entering a trade, caps per-trade risk and loss, uses ATR…

Risk managementPosition sizingBreakoutVolatility
MQL5 articles

This installment describes practical changes to a MetaTrader Expert Advisor, including a compile-time option to remove the chart trading panel while retaining user inputs for order volume, profit target, stop loss, and day-trading mode. It also adds…

ExecutionRisk managementPosition sizing
MQL5 articles

This article develops an intraday breakout system that uses the first confirmed Bill Williams fractal high and low after a session opens as entry boundaries. It explains the confirmation delay and uses five-minute bars to avoid treating very short-term…

BreakoutTechnical indicatorsVolatilityPosition sizing