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

ProRealCode

This ProRealTime strategy combines three moving averages with short lookback breakouts and a confirming candle pattern. For long entries, price lows must sit above all three averages and the high must reach the recent high; a sequence of declining then…

FuturesTrend followingBreakoutTechnical indicators
SuperMind

This EUR/USD expert advisor averages losing positions in one chosen direction, buying or selling at the user's setting. When price moves against the open position by a specified step, it adds an order of fixed volume. After accumulated positions reach a…

ForexGrid tradingPosition sizingRisk management
ProRealCode

This note describes an Alligator-style trading method using simple, weighted, and endpoint moving averages calculated from a pivot price. It proposes buying when the three averages cross upward and selling when they cross downward. The endpoint average may…

Technical indicatorsTrend followingPosition sizing
ProRealCode

This document describes an intraday breakout system for the French CAC 40 using the early-session high and low as reference levels. It tracks the range from the opening period, then places stop entries beyond those levels when the range and the price’s…

FuturesBreakoutTechnical indicatorsRisk management
MQL5 code base

The document explains a lock as equal-sized long and short positions in the same asset, which offset price-driven gains and losses while tying up margin. Its VR Locker Lite example opens both sides together, then uses averaging to expand the positions.…

ForexRisk managementPosition sizing
MQL5 code base

This automated strategy monitors Bollinger Bands on every price tick and places pending stop orders after price breaks a band at the distance associated with the widest configured level. A break above the upper band triggers four sell stop orders, while a…

ForexTechnical indicatorsBreakoutExecution
SuperMind

This Chinese-language trading script describes a long-only breakout setup using an 8-period and a 40-period moving average. It waits for a sequence of candle conditions: an earlier close near the low, a subsequent close near the high, and the prior close…

EquitiesBreakoutTechnical indicatorsPosition sizing
MQL5 code base

This document outlines a Forex Expert Advisor that combines breakout entries with a Martingale-style recovery process. Its settings include the share of account balance available for trading, profit and loss targets expressed relative to balance, a recovery…

ForexBreakoutPosition sizingRisk management
MQL5 code base

Hoop Master 2 is described as an evolution of an earlier automated trading system that uses pending buy-stop and sell-stop orders with a Martingale approach. The update adds more formal controls over open positions and pending orders. Its central change is…

ForexGrid tradingPosition sizingRisk management
MQL5 code base

The document explains the Stretch, a volatility measure calculated as a 10-period average of the smaller distance between each bar’s open and its high or low. It uses that measure to set session breakout levels around the open, forming a channel that can be…

BreakoutVolatilityTechnical indicatorsRisk management
vn.py community

The post raises an architectural question about combining multiple CTA strategies in a live portfolio. The author has Bollinger-channel and DKX strategies that calculate indicators and position changes, but finds their individual money management conflicts…

FuturesPortfolio constructionRisk managementPosition sizing
MQL5 code base

This document outlines an automated system that uses a Martingale position-sizing approach. It can restrict the hours when new positions are opened, while continuing to manage open positions and close the full set when their combined profit reaches a…

Position sizingRisk managementBacktesting
MQL5 code base

This document describes a MetaTrader 5 Expert Advisor that opens multiple buy or sell orders after a user clicks a corresponding button. Inputs include the number of orders, risk percentage per trade, stop loss, take profit, and slippage. The EA calculates…

ExecutionPosition sizingRisk management
ProRealCode

This indicator displays five dots that summarize price direction across five progressively slower candle intervals derived from the chart’s current time frame. For each interval, it compares the current close with a selected reference, such as the open,…

Technical indicatorsTrend followingPosition sizing
MQL5 code base

This text compares two approaches to changing trade size after wins and losses. Under the classical Martingale approach, a trader begins with a minimum position and increases size after each loss, aiming for a later winning trade to recover the losses in the…

Position sizingRisk managementStatistics
MQL5 code base

This brief description explains a position sizing function that calculates lot size from the distance to a stop loss and a specified risk budget. Its example states that a 2% risk setting combined with a stop 40 points away yields a lot size intended to lose…

Position sizingRisk managementExecution
BigQuant

The article explains constant proportion portfolio insurance (CPPI) by building it up through five related allocation strategies. It starts with investing only interest income in stocks, then considers the present value of future interest, reserving enough…

Multi-assetPortfolio constructionRisk managementPosition sizing
MQL5 code base

This Expert Advisor identifies trend conditions with three moving averages and uses Parabolic SAR to trigger orders. It can close a position on an opposite signal, trade only on selected days, reverse its signal, or keep a position open when an opposite…

Trend followingTechnical indicatorsPosition sizingRisk management
ProRealCode

The document presents a Yang–Zhang extension of the Garman–Klass volatility estimator as an ex-ante volatility measure that can support position sizing in time-series and dual-momentum strategies. Its calculation combines squared overnight gaps, intraday…

VolatilityPosition sizingTechnical indicatorsMomentum
MQL5 code base

The document presents an Expert Advisor for managing positions opened manually or by another automated system. Its trailing stop is based on Average True Range (ATR), so the stop distance can respond to changing volatility instead of remaining a fixed number…

VolatilityRisk managementPosition sizing
MQL5 code base

This document describes a script for submitting a buy stop-limit order and a sell stop-limit order at equal distances from the current price. Its configurable inputs cover trade size, price deviation, order distance, stop-limit offset, stop loss, take…

ExecutionRisk managementPosition sizing
MQL5 code base

The document explains how to size a forex position so that a stop-loss represents a chosen amount of account-currency risk. It distinguishes three currency relationships: a pair whose quote currency matches the account currency, a pair whose base currency…

ForexPosition sizingRisk managementExecution
SuperMind

These notes summarize a practical framework for developing an independent quantitative trading operation. They cover choosing strategies that fit a trader’s capital, skills, time, and income goals; screening ideas with benchmark comparisons, Sharpe ratio,…

BacktestingRisk managementPosition sizingMean reversion
MQL5 code base

The document explains an Expert Advisor that uses arrows from a Candle shadow percent indicator to open trades. At the start of a new bar, an upper-shadow signal on the prior completed bar triggers a sell, while a lower-shadow signal triggers a buy. Position…

Technical indicatorsPosition sizingRisk management