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

Search the library

4,613 documents

Strategy library

This strategy combines three indicators to generate directional trades. A long setup requires price to cross above VWAP, a positive MACD histogram, and RSI below its overbought threshold. A short setup requires a cross below VWAP, a negative histogram, and…

Technical indicatorsMomentumRisk managementPosition sizing
Strategy library

The Maiko strategy defines a trading range from higher-timeframe highs and lows, then looks for entries on a lower timeframe when price reaches a Bollinger Band boundary and RSI confirms an extreme. Longs require price at or below the lower band with RSI at…

Mean reversionTechnical indicatorsRisk managementPosition sizing
Strategy library

This automated strategy seeks intraday momentum breakouts during London trading hours. It opens a long when a bullish candle exceeds the prior candle’s high without breaking its low, or a short when a bearish candle breaks the prior low without exceeding its…

CryptoMomentumBreakoutRisk management
Strategy library

This strategy combines a ribbon of 18 moving averages, spanning periods 5 to 90, with a 100-period baseline and an RSI filter. It counts rising and falling averages to assess trend direction: at least 13 rising averages supports a long signal, while at least…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This long-only strategy calculates a weekly pivot from the prior week’s high, low, and close, then sets four support levels and corresponding resistance targets at configurable point distances. When price reaches a support level, it opens a position and…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This SPY strategy seeks short-term reversals from hourly price moves. It enters long when a fast EMA crosses above a slower EMA while RSI is above 50. It exits on a bearish EMA relationship combined with MACD falling below its signal line and a stochastic…

EquitiesMean reversionTechnical indicatorsRisk management
Strategy library

The described method combines a 20-day baseline derived from the highest high and lowest low with Williams %R confirmation for daily GBP/JPY trading. A move across the baseline sets the directional signal, while Williams %R crossing above -35 confirms a long…

ForexTechnical indicatorsRisk managementPosition sizing
Strategy library

This strategy seeks volatility regime transitions by comparing fast and slow ATR values, standardizing their ratio as a VoVix Z-score, and detecting local peaks. It then requires additional confirmation: clustered volatility spikes and a price move beyond a…

VolatilityTechnical indicatorsPosition sizingRisk management
Strategy library

This long-only approach calculates RSI on the MACD line rather than directly on price. It opens a position when that RSI crosses above either of two nearby oversold-entry levels, provided price is above a slow EMA. The strategy sizes the order as a fraction…

Technical indicatorsMomentumMean reversionPosition sizing
Strategy library

The code places a fixed set of buy limit orders below the current BTC perpetual-futures price and sell limit orders above it. The price offsets widen in regular increments, while order quantities grow rapidly at deeper levels, creating symmetric bid and ask…

CryptoFuturesGrid tradingPosition sizing
Strategy library

This document outlines a short strategy for liquid currency pairs, using a price move and a time limit to define trade decisions. It describes sizing positions from a set fraction of account equity and setting stop-loss and take-profit levels. The listed…

ForexFuturesRisk managementPosition sizing
Strategy library

This futures algorithm opens an initial long or short, then monitors a configured profit-taking price and a stop threshold. When the stop threshold is crossed, it closes the position and attempts a new position sized as a multiple of the closed amount. A…

FuturesPosition sizingRisk managementExecution
Strategy library

This short-term system combines fast and slow exponential moving average crossovers with an RSI direction filter. It opens long positions when the fast average crosses above the slow average and RSI is above its midpoint, and opens shorts on the inverse…

Technical indicatorsMomentumVolatilityRisk management
Strategy library

This document outlines a long strategy that starts a trade when price crosses below the lower Bollinger Band. It combines a shorter moving average and standard deviation bands with a longer moving average, then adds safety orders as price moves further below…

CryptoFuturesTechnical indicatorsVolatility
Strategy library

This two-direction strategy uses fast and slow exponential moving averages to detect shifts in trend. A bullish or bearish change occurs when the fast average moves across the slow one; an optional candle direction check can require a rising candle for long…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This document describes a short-only trend-following system built around the crossover of 20-period and 50-period simple moving averages. A downward cross opens a short position, while an upward cross closes it. The source implementation uses the crossover…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This educational Python example follows price moves using a reference price that resets after each trade. When BTC/USDT rises more than the configured 5% threshold above the reference, the bot buys using a fraction of available cash, provided the calculated…

CryptoMomentumPosition sizingExecution
Strategy library

This document describes a long-only strategy based on Bollinger Bands %B. It computes the bands from a configurable lookback and price source, then calculates %B as the source price's position between the lower and upper bands. A long entry is signaled when…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This strategy approximates low-volume-node behavior without calculating a true volume profile. It centers a zone on a rolling simple moving average and sets upper and lower boundaries using ATR. A relative-volume filter identifies bars with activity below…

Technical indicatorsVolatilityBreakoutRisk management
Strategy library

This long-only strategy combines a weekly trend filter with moving-average and price conditions for entry and exit. It permits entries when price is above the 50-period weekly volume-weighted moving average (VWMA). On the chart timeframe, two consecutive…

FuturesTrend followingBreakoutTechnical indicators
Strategy library

The supplied excerpt shows the configuration for a multi-filter trading strategy called Helios. Its inputs cover an adaptive baseline, efficiency lookback, ATR and directional movement measures, volatility and channel windows, a higher-timeframe confirmation…

Technical indicatorsVolatilityRisk managementPosition sizing
Strategy library

This Pine strategy combines directional movement and ADX with an EMA trend filter to organize trend trades. Its configurable inputs cover DI and ADX lengths, minimum ADX and DI spread thresholds, pullback entries using a faster EMA, and optional reversal…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This strategy describes trading breaks of recently detected pivot highs and lows, with direction filtered by a 200-period simple moving average. It records the latest pivot as resistance or support, then seeks a breakout followed by a confirming candle: a…

BreakoutTechnical indicatorsTrend followingRisk management
Strategy library

This Pine strategy combines a fast and slow exponential moving average, Supertrend direction, candle color, and RSI thresholds to generate long and short signals. It requires all four conditions to agree and only enters when no position is open. The script…

Technical indicatorsTrend followingRisk managementPosition sizing