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

4,613 documents

MQL5 articles

This article proposes embedding risk controls throughout a liquidity-zone trading system rather than treating them as an afterthought. Its framework filters zones using impulse, base structure, higher-timeframe context, zone height, and volatility relative…

Risk managementPosition sizingForexExecution
MQL5 articles

The article models currency pairs as directed graph edges and currencies as vertices, assigning exchange-rate weights that account for bid or ask prices. A closed path may present triangular arbitrage when its combined conversion rate exceeds transaction…

ForexArbitrageExecutionRisk management
MQL5 articles

The article explains a risk in MetaTrader 5 netting accounts: when a pending order adds to an existing position, the platform updates the position’s average entry price and may also replace its stop-loss and take-profit levels with those attached to the…

ExecutionRisk managementPosition sizing
MQL5 articles

The article presents a discretionary trend-following framework and an MQL5 Expert Advisor intended to keep trades aligned with the prevailing trend. Its analysis starts on monthly charts, marks reaction levels around prior highs and lows, then checks weekly…

Trend followingTechnical indicatorsRisk managementPosition sizing
MQL5 articles

This article describes adding a forex calculator to an MQL5 trade management panel. It outlines calculations for position size from balance, risk percentage, stop distance, and pip value; monetary risk; pip value conversions; margin requirements; profit and…

ForexRisk managementPosition sizing
MQL5 articles

This article presents a method for comparing several trading systems through virtual trades, then allocating live trading to systems whose recent results meet a rating threshold. Each system receives a score based on its profit over a rolling window of…

ForexBacktestingPosition sizingRisk management
MQL5 articles

In this interview, a participant in the Automated Trading Championship describes how he approaches building currency trading robots. He favors programming strategies because discretionary trading makes it difficult for him to stick to a plan, and says that…

ForexBacktestingPosition sizingRisk management
MQL5 articles

This article describes completing an MQL5 risk-management class, with emphasis on adjusting per-trade risk as account balance moves through configured thresholds. It gives an example in which risk is reduced at progressively deeper drawdown levels, and…

Risk managementPosition sizing
MQL5 articles

This article presents a MetaTrader 5 class that substitutes limit orders for a position’s built-in take profit. The proposed approach can support staged or partial exits by assigning limit orders volumes smaller than the position. It integrates by routing an…

ExecutionRisk managementPosition sizing
MQL5 articles

The article shows how to extend the MQL5 Wizard with a custom trailing module derived from the Standard Library’s CExpertTrailing class. It explains the module’s initialization and validation hooks, indicator setup where needed, and the long- and…

Risk managementExecutionPosition sizing
MQL5 articles

This article describes an automated divergence strategy using RSI, a 200-period EMA, and the Stochastic Oscillator. The EMA filters direction: the strategy seeks buys above it and sells below it. RSI and corresponding price swings identify hidden bullish or…

Technical indicatorsMean reversionRisk managementPosition sizing
MQL5 articles

This article describes a deliberately speculative Expert Advisor designed to multiply a deposit with some probability while accepting a high chance of losing it. The proposed method enters randomly in either direction, holds for a chosen period, then exits…

ForexRisk managementPosition sizingStatistics
MQL5 articles

This article uses Monte Carlo resampling to examine how an Expert Advisor’s historical trade outcomes might vary in future sequences. Its main method is a bootstrap: sample historical relative trade returns with replacement, generate many sequences, and…

BacktestingStatisticsRisk managementPosition sizing
MQL5 articles

The article explains how a single backtest equity curve can hide the range of outcomes produced by different orderings of the same trades. It distinguishes Monte Carlo simulation, which shuffles closed-trade profit and loss values to generate alternative…

BacktestingStatisticsRisk managementPosition sizing
MQL5 articles

The article explains a position management design for adding to winning trades while controlling combined downside. It identifies two common risks: keeping add-on sizes uniform, which can multiply exposure, and managing each position with a separate stop,…

Risk managementPosition sizingTrend followingForex
MQL5 articles

This installment describes stabilizing a chart-based trading panel’s mouse-event handling and designing the message it sends to an Expert Advisor. The code adjusts panel coordinates when the chart is resized, manages dragging and editing, and uses a shared…

ExecutionPosition sizingRisk management
MQL5 articles

The article argues that written trading rules can fail under live pressure when traders override trade-count limits, profit targets, or loss boundaries. It frames discipline as a system design problem and introduces MQL5 governance code intended to monitor…

Risk managementExecutionPosition sizingForex
MQL5 articles

Alexander Topchylo describes managing Forex accounts after winning the Automated Trading Championship and explains his preference for giving investors access to a detailed, public trading history. He discusses moving toward stocks and futures and argues that…

ForexMachine learningStatisticsPosition sizing
MQL5 articles

This article describes an MQL5 expert advisor built around the Nick Rypock Trailing Reverse channel. The channel uses an Average True Range calculation and a configurable multiplier to define volatility-adaptive support levels. A transition to rising support…

ForexTrend followingVolatilityRisk management
MQL5 articles

This article outlines an MQL5 expert advisor that monitors 30 forex and metal symbols from one chart. Its entry rule requires Parabolic SAR to indicate the same direction on five timeframes, from M15 through D1. It uses the M15 signal to close profitable…

ForexCommoditiesTechnical indicatorsPosition sizing
MQL5 articles

The article describes an MQL5 Expert Advisor that places pending Forex orders through an interactive chart interface. Traders choose Buy Stop, Sell Stop, Buy Limit, or Sell Limit, enter a lot size, and adjust entry, stop-loss, and take-profit levels by…

ForexExecutionPosition sizing
MQL5 articles

In this interview, Automated Trading Championship participant Matúš German explains the design of his EA, which combines a moving average for trend direction with Williams Percent Range for entries and exits. Its position sizing method tracks hypothetical…

Technical indicatorsPosition sizingRisk managementForex
MQL5 articles

This article describes adding a time-control layer to a MetaTrader 5 Expert Advisor. The proposed control defines a permitted operating interval for each day of the week, so the EA can restrict when it may open positions or submit orders. The schedule is…

ExecutionRisk managementPosition sizing
MQL5 articles

This article explains how a MetaTrader indicator can rebuild and display the history of a position on a netting account, including entries, partial exits, and reversals. Since opposite-side deals reduce, close, or reverse a single symbol position, the…

Technical indicatorsExecutionPosition sizing