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

7,910 documents

Strategy library

This example schedules a target futures position across a chosen trading window using historical intraday volume patterns. It divides the session into fixed-length time cells, calculates each cell’s share of total session volume for each selected prior…

ExecutionMarket microstructureFuturesBacktesting
Strategy library

This long-only system combines a volume-weighted moving average with a smoothed RSI variant. It seeks entries when the close is above the VWMA and the smoothed RSI is above its threshold; exits occur when price falls below the average and RSI drops below its…

Technical indicatorsMomentumMachine learningRisk management
Strategy library

This strategy combines Supertrend, which uses price and ATR to track trend direction, with the SSL Channel, built from moving averages of highs and lows. Breaks or crosses in these indicators generate directional signals. In confirmation mode, the system…

Trend followingTechnical indicatorsVolatilityRisk management
Strategy library

This strategy looks for price deviations from a rolling mean after converting closing prices to logarithms. It uses a rolling mean and standard deviation to form a Z-score, opening long positions when the score falls below a negative threshold and short…

Mean reversionStatisticsVolatilityRisk management
Strategy library

This trend-following method estimates direction over two lookback periods. For each period, it compares the close with the midpoint of the recent high-low range, then smooths consecutive above- or below-midpoint readings. A long signal occurs when both…

Trend followingTechnical indicatorsFuturesCrypto
Strategy library

This trend-following approach uses a 200-period simple moving average as its main filter. It looks for price crossings, then confirms signals using RSI thresholds, ADX above 20, and a two-bar delay. The description specifies an ATR-based stop and a fixed 2%…

Trend followingTechnical indicatorsRisk managementBacktesting
Strategy library

This strategy uses a 14-period and a 28-period simple moving average to generate directional signals: an upward crossover indicates a long, while a downward crossover indicates a short. The description specifies a 2% stop loss and a 4% take-profit level,…

FuturesCryptoTechnical indicatorsRisk management
Strategy library

This short script uses 5-period and 13-period exponential moving averages to generate trading signals. It enters long when the fast average crosses above the slow one and short when it crosses below. Each entry sets a stop 1% from the signal bar’s close and…

Technical indicatorsMomentumRisk management
Strategy library

This strategy calculates Fibonacci retracement levels from the rolling high and low over a configurable lookback. It seeks bullish candles near the low boundary and bearish candles near the high boundary, then requires volume to exceed a multiple of its…

FuturesTechnical indicatorsMean reversionVolatility
Strategy library

This strategy combines Parabolic SAR readings from the chart timeframe and a user-selected higher timeframe. Its dual-confirmation mode enters when both readings indicate the same direction and the chart-timeframe SAR has just flipped. Alternative modes use…

Trend followingTechnical indicatorsRisk managementMulti-asset
Strategy library

This strategy uses a Donchian channel to define a midpoint between the recent highest high and lowest low. It enters long when the close crosses above that basis and short when it crosses below, provided the signal falls within an optional trading session…

Technical indicatorsTrend followingRisk managementBacktesting
Strategy library

This intraday NQ strategy records the high and low formed during the New York lunch session, then watches for the first sweep during the afternoon trading window. A short setup occurs when price moves above the lunch high but closes back below it; a long…

FuturesMean reversionBreakoutTechnical indicators
Strategy library

This strategy tests a fixed weekly schedule for Bitcoin: enter long on Monday morning and close on Wednesday afternoon, using New York time. On intraday charts it looks for the specified hours and minutes; on daily or higher charts it uses the weekday alone,…

CryptoSpot marketsEvent-drivenBacktesting
Strategy library

This example applies a z-score to daily closing prices for a gold futures contract. It calculates the mean and standard deviation over a rolling window, then compares the latest close with that mean in standard deviation units. When flat, it buys after a…

FuturesCommoditiesMean reversionStatistics
Strategy library

This strategy estimates short-term cost as the midpoint between the highest high and lowest low over a recent window, then compares it with a long-term simple moving average of closing prices. A simple moving average smooths that deviation. Values above a…

Trend followingTechnical indicatorsFuturesCrypto
Strategy library

Despite its pair-trading label, this document describes a long-only strategy for a single instrument. It combines three simple moving averages and two exponential moving averages with candle and volume conditions to create two alternative entry signals. One…

EquitiesTechnical indicatorsTrend followingRisk management
Strategy library

This mean-reversion strategy uses two Bollinger Band envelopes around a 20-period simple moving average, one at two standard deviations and another at three. It opens a long when price crosses back above the lower three-standard-deviation band, or a short…

Mean reversionVolatilityTechnical indicatorsFutures
Strategy library

This strategy uses the change in closing price over a lookback period as a simple linear regression slope proxy to classify conditions as bullish or bearish. Its published defaults are a 20-bar slope length, a 50-bar simple moving average, and a slope…

Trend followingTechnical indicatorsStatisticsBacktesting
Strategy library

This strategy looks for potential turning points by combining RSI extremes, above-average volume, and evidence of a recent low or high being swept and reclaimed. Bullish exhaustion requires RSI below 35, volume above 1.2 times its 20-bar average, and either…

Technical indicatorsMean reversionMarket microstructure
Strategy library

This strategy combines a short-period RSI with consecutive candle colors to look for reversals after sustained moves. It uses an RSI period of 7 and a threshold of 30, treating readings below 30 as oversold and readings above the mirrored 70 level as…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This trend-following framework builds a range filter from a simple moving average and a smoothed measure of price deviation. It confirms an uptrend when price closes above the upper band for two consecutive periods and a downtrend after two closes below the…

Trend followingBreakoutVolatilityPosition sizing
Strategy library

The strategy uses AlphaTrend, a trailing curve built from an ATR-based band and a directional filter. It selects RSI when volume data is unavailable and MFI when volume is present, then generates long or short signals when AlphaTrend crosses its value from…

Technical indicatorsTrend followingBreakoutVolatility
Strategy library

This strategy combines a 200-period exponential moving average as a directional filter with MACD alignment and an ADX threshold to identify potential trend entries. Long conditions require price above the EMA, MACD above its signal line while below zero, and…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

This short-term strategy uses a 20-period simple moving average and a 21-period exponential moving average to generate directional signals. It buys when the EMA crosses above the SMA and sells when the SMA crosses above the EMA, treating the crosses as…

Technical indicatorsTrend followingHigh-frequency tradingRisk management