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

Strategy library

This strategy seeks agreement among momentum readings on three timeframes, then uses stochastic signals to time entries. Momentum can be measured with RSI relative to a neutral band around 50 or with the slope of an exponential moving average. Long entries…

Multi-assetMomentumTechnical indicatorsPosition sizing
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

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 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

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 strategy uses swing pivots to track external market structure and assign a bullish or bearish bias when price closes beyond the latest external swing high or low. Within that bias, it tracks internal pivots and defines a pullback zone using a portion of…

Trend followingTechnical indicatorsVolatilityRisk management
Strategy library

This RSI2 strategy combines a two-period relative strength index with a configurable moving-average filter. When price is above the moving average, an RSI2 reading above 90 triggers a short entry and a reading below 10 closes that short. When price is below…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This BTC perpetual futures strategy combines an EMA crossover with RSI and ADX filters. It enters long when price crosses above the EMA while RSI is above 50 and ADX exceeds a threshold; short entries use the inverse crossover and RSI condition. ATR sets…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This strategy places a sequence of buy and sell levels across a price range. The range can be set manually or estimated from recent closing prices using highs and lows, or an average with a deviation. Grid spacing follows from the range and the selected…

Grid tradingMean reversionFuturesPosition sizing
Strategy library

This source describes a bar-based moving-average strategy that compares closing prices with a simple moving average and checks the latest price’s distance from that average. An upward-cross signal is intended to open long positions when both the bar close…

EquitiesTechnical indicatorsPosition sizingExecution
Strategy library

This strategy compares two linear regression series, using a shorter period of 20 and a longer period of 40 by default. When the shorter series crosses above the longer one, it opens a long position if none is open; a downward cross similarly opens a short.…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This spread strategy uses Bollinger bands to enter positions when a spread moves beyond its recent range, then aims to close the position after it returns to its simple moving average. It updates spread bars from incoming ticks and waits for its price…

Mean reversionArbitrageTechnical indicatorsPosition sizing
Strategy library

This strategy uses a smoothed stochastic K value to classify market regimes. A move above the upper threshold marks a strong regime, while a move below the lower threshold marks a weak one. In a strong regime, a downward cross of the midpoint prompts long…

Technical indicatorsMomentumPosition sizingRisk management
Strategy library

This long-only trend-following strategy enters when the close rises above the highest high from a chosen lookback period. It uses an EMA, calculated on a selectable chart timeframe, as an exit signal when the close falls below it. The description also…

FuturesCryptoBreakoutTrend following
Strategy library

This document describes a long-term directional strategy using the rate of change (ROC) of closing prices. It takes long or short positions based on ROC crossing zero, with a two-day persistence condition intended to filter short-lived signals. It also…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This strategy standardizes the closing price against its rolling mean and standard deviation to identify unusually large deviations. With the documented default rolling window of 80 bars and threshold of 2.8, it signals a sell when the Z-score exceeds the…

StatisticsMean reversionTechnical indicatorsBacktesting
Strategy library

This document describes a short-only mean reversion strategy for daily stock and ETF trading, using Internal Bar Strength (IBS) to measure where the close falls within the day’s high-low range. It opens a short when IBS is at or above 0.9, the close is above…

Mean reversionTechnical indicatorsRisk managementPosition sizing
Strategy library

This crypto spot strategy uses a Donchian-style breakout check on weekly bars, constructed from daily data, to choose among full exposure, balanced holdings, or cash. A new high relative to the prior channel leads to full investment. If price remains above a…

CryptoSpot marketsTrend followingTechnical indicators
Strategy library

The available portion describes an ETH trading strategy that combines pivot-derived order block levels with fair value gap zones. It looks for price to move through a stored level and close back across it, or for price to revisit a recent gap while meeting…

CryptoTechnical indicatorsRisk managementPosition sizing
Strategy library

This grid strategy places limit orders above and below the current market price, opening short positions on the upper side and long positions on the lower side according to the selected grid mode. It tracks open position amounts and combined unrealized…

Grid tradingFuturesPerpetual futuresRisk management
Strategy library

This document describes a single-pair implementation of a long-only dollar-cost-averaging strategy driven by three RSI signals. The base order starts when a 14-period RSI on a 15-minute chart crosses above 30. Additional safety orders require a rebound…

CryptoSpot marketsPerpetual futuresMean reversion
Strategy library

This SOLUSDT perpetual strategy is a long-only averaging framework. Its entry filter is a 14-period RSI below 28 on a four-hour timeframe. After a base order, it places up to five additional orders at fixed price declines from the base entry: 2%, 5%, 9.5%,…

CryptoPerpetual futuresMean reversionTechnical indicators