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 strategy combines higher-timeframe direction filters with lower-timeframe channel signals. Weekly and daily conditions establish a preferred trading direction, while a four-hour channel and its turning points generate potential entries. Trades are taken…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This note describes a trend-following method using Heikin Ashi candles and moving-average color changes to time entries and exits. It proposes opening long or short positions when the second average changes direction, then adding to a position when the third…

FuturesTrend followingTechnical indicatorsPosition sizing
Strategy library

This Pine strategy framework combines range-flip entries with a configurable higher-timeframe market-structure bias. Its inputs allow the bias to use breaks of structure, a sequence of higher highs and higher lows, or both; a midline rule can be set to…

Technical indicatorsTrend followingVolatilityPosition sizing
Strategy library

The described system enters long when price crosses above a 200-period exponential moving average, using volume as a confirmation filter. The stated default requires current volume to exceed 1.5 times its 20-period average. At entry, the source sets a stop…

BreakoutTrend followingTechnical indicatorsVolatility
Strategy library

This system adapts Turtle-style trend following with two breakout lookbacks: a shorter L1 channel for faster entries and a longer L2 channel for slower signals. It enters long when price breaks above either channel, with a rule to skip the next L1 entry…

Trend followingBreakoutVolatilityPosition sizing
Strategy library

This strategy identifies a three-candle pattern in which lows rise consecutively while highs fall, then tracks the high and low of the first candle as breakout levels. It enters long when the close crosses above the high or short when it crosses below the…

BreakoutTechnical indicatorsRisk managementFutures
Strategy library

This trend-following method combines a smoothed Coral line with Donchian Channel breakouts. The Coral calculation smooths the average of the high, low, and close, then labels direction by comparing the close with that line. The Donchian component identifies…

CryptoFuturesTrend followingBreakout
Strategy library

This short-term strategy seeks pullback entries in the direction of a broader trend. It uses 9-, 21-, and 50-period exponential moving averages to classify trend direction: an upward trend requires the averages to be ordered from shortest to longest, while a…

CryptoFuturesTrend followingMomentum
Strategy library

This strategy uses a fast and a slow Hull Moving Average (HMA) to identify possible trend changes. HMA combines weighted moving averages to reduce lag relative to conventional moving averages. The specified defaults are 9 periods for the fast line and 16 for…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This short-term Bitcoin strategy looks for price moves beyond RSI-derived bands and treats them as potential mean reversion entries. A long setup requires a lower-band break alongside oversold readings from WaveTrend and Stochastic RSI; a short setup…

CryptoMean reversionTechnical indicatorsRisk management
Strategy library

This strategy forms an upper and lower price channel from moving averages of highs and lows. It supports several average types, and scales each band by a percentage gap. Stop orders are placed at the upper band for long entries and at the lower band for…

FuturesCryptoTrend followingBreakout
Strategy library

This strategy combines a 123 reversal rule with a Rainbow Oscillator direction signal. The reversal component uses recent closing-price movement and stochastic readings to identify long or short states. The Rainbow component compares price with a series of…

FuturesCryptoMean reversionTrend following
Strategy library

This strategy combines an ATR-based Supertrend with rolling Gann high and low levels. It uses the 15-minute timeframe for entries: a long signal requires price above both the Supertrend line and the rolling high, while a short signal requires price below…

FuturesCryptoTrend followingBreakout
Strategy library

This dual-factor reversal strategy combines a 123 price pattern with the Mass Index, and opens a position only when both factors indicate the same direction. The 123 component uses the sequence of recent closes and a stochastic oscillator threshold to…

FuturesCryptoMean reversionVolatility
Strategy library

This trend-following approach estimates price friction from how often recent bars contained the current closing level. A weighted count over a lookback window acts as a dwell measure; the strategy compares it with recent friction extremes to identify…

FuturesCryptoTrend followingBreakout
Strategy library

This long-side strategy applies Bollinger Bands to VWAP rather than directly to price. It calculates a moving average and standard-deviation bands around VWAP, then enters when VWAP crosses above its basis while the closing price is at or above a pivot…

Technical indicatorsRisk managementPosition sizingMean reversion
Strategy library

This BTC futures strategy combines several technical signals to select trend trades. It uses fast, slow, medium, and major exponential moving averages, alongside momentum, volume, market structure, liquidity, and one-hour and four-hour trend checks. Long and…

FuturesCryptoTrend followingTechnical indicators
Strategy library

The visible portion of this strategy combines reversal signals near prior-day or premarket extremes with breakouts through those levels. It tracks prior-day highs, lows, and midpoint, along with premarket and current-session extremes. A reversal setup looks…

EquitiesBreakoutMean reversionTechnical indicators
Strategy library

This script pairs Keltner Channel breakout entries with a position-size calculation based on a chosen percentage of account equity. The channel uses a configurable moving average, exponential by default, and bands derived from average true range, true range,…

FuturesBreakoutTechnical indicatorsPosition sizing
Strategy library

This example describes a mean-reversion approach to the price spread between near- and far-month index futures contracts. On 15-minute bars, it calculates the difference between the contracts’ closing prices over an 80-bar window, then estimates the spread’s…

FuturesArbitrageMean reversionStatistics
Strategy library

This Bitcoin futures strategy looks for a short-term long entry after RSI and price form a bullish divergence. It identifies RSI pivot lows and compares them with earlier lows, requiring the RSI to make a higher low while price makes a lower low. The…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This strategy tracks trends using an EMA of closing price and smoothed values derived from rolling volume-weighted average price. In the long configuration, it enters when the price EMA crosses above the first smoothed weighted-price measure and may add a…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This medium- to long-term trend-following approach combines a 20-period and a 60-period exponential moving average (EMA) crossover with Parabolic SAR confirmation. A bullish crossover is intended to support a long entry when SAR is below price; a bearish…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This strategy uses a 20-period simple moving average and bands set two standard deviations above and below it. It describes buying when price crosses back above the lower band and selling when price crosses back below the upper band, with the sell signal…

CryptoFuturesMean reversionTechnical indicators