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 document describes a long-entry strategy that combines five technical checks: oversold RSI, a bullish MACD crossover, price re-entering the lower Bollinger Band, price above a long-term EMA, and volume above its recent average. A signal is generated…

Technical indicatorsMean reversionMomentumRisk management
Strategy library

This system measures percentage price change over a configurable lookback and opens a long position when the gain meets or exceeds a chosen momentum threshold, provided no position is open. It sets stop-loss and take-profit prices as percentages of the entry…

MomentumBreakoutRisk managementPosition sizing
Strategy library

This strategy combines entries near several exponential moving averages with repeated dollar cost averaging. It uses a one percent band around selected EMA values, with common periods ranging from short to long, to trigger long entries. The description also…

FuturesTechnical indicatorsTrend followingPosition sizing
Strategy library

This document describes an LP rebalancer controller that delegates position closure to an executor. The controller sets upper and lower price limits from a rebalance threshold; when price moves beyond those limits, the executor closes the liquidity position.…

DeFiExecutionRisk managementPosition sizing
Strategy library

The visible portion of this open-source Pine strategy presents a configurable trading framework centered on risk management, market regime filters, and price structure. Risk controls include a per-trade risk setting, a reward-to-risk target, an ATR-based…

Risk managementPosition sizingTechnical indicatorsVolatility
Strategy library

This strategy treats a candle with a very small body and equal open and close as a doji-like signal. It uses the relation between the prior close and the close two bars earlier to choose direction: a higher prior close indicates a long, while a lower one…

Technical indicatorsMean reversionRisk managementPosition sizing
Strategy library

This strategy uses a WaveTrend oscillator to identify potential divergences between price and momentum. It opens a long on a bullish divergence, sizes the position from account equity risk and the distance to an ATR-based stop, and closes the long on a…

CryptoTechnical indicatorsRisk managementPosition sizing
Strategy library

This strategy calculates 38.2% and 61.8% retracement levels from the highest high and lowest low over a lookback window, set to 20 periods by default. A close crossing above the 61.8% level triggers a long entry; a close crossing below 38.2% triggers a short…

CryptoFuturesTechnical indicatorsPosition sizing
Strategy library

This example shows how a backtest can incorporate brokerage-specific order restrictions and fees through a custom brokerage model. It defines a rule that rejects an order when its estimated cost would reduce portfolio cash below a required minimum, and emits…

BacktestingRisk managementExecutionPosition sizing
Strategy library

This short-term strategy describes opening a market short when there is no open trade. Position size is calculated from account equity, a per-trade risk percentage, the stop distance, and point value. A trade closes when its stop-loss or take-profit level is…

ForexPosition sizingRisk managementTechnical indicators
Strategy library

This intraday system combines short and long exponential moving average crossovers with RSI, Supertrend, and an ATR volatility filter. Long entries require an upward EMA crossover, RSI above its neutral threshold, positive Supertrend direction, and ATR…

FuturesTrend followingTechnical indicatorsVolatility
Strategy library

This Bitcoin futures strategy combines two signal paths: a smoothed indicator derived from the RSI of cumulative price changes weighted by volume, and a linear regression of price crossing a higher-timeframe Hull moving average variant. A long entry occurs…

CryptoFuturesTechnical indicatorsMomentum
Strategy library

This multi-symbol forex expert advisor combines a Nadaraya–Watson envelope with RSI and an ATR-based stop finder. It looks for a recent bar to extend beyond an envelope boundary, followed by a reversal-colored candle, a current price positioned within part…

ForexMean reversionTechnical indicatorsRisk management
Strategy library

This tutorial outlines a directional grid that adds a position whenever the market moves beyond the next grid level by a configured spacing. In upward mode it sells at successive levels and later buys back when price reaches a cover threshold; downward mode…

Grid tradingExecutionRisk managementPosition sizing
Strategy library

This source describes a stock strategy that calculates MACD from adjusted daily closing prices across a configured stock universe. It opens long positions when the MACD line and signal line are positive, the MACD line is rising, and it is above the signal…

EquitiesMomentumTechnical indicatorsRisk management
Strategy library

The Dual Thrust method sets daily breakout thresholds from recent price ranges. At the start of a new bar, it measures the greater of two ranges formed from recent highs, lows, and closes, then scales separate upper and lower thresholds by configurable…

FuturesBreakoutTrend followingExecution
Strategy library

This BTC futures strategy combines EMA crossovers with a price-channel filter to define direction. RSI, DMI, momentum, and elevated volume further qualify entries, while an ATR-based stop and a take-profit target set the trade’s exit levels. The design also…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This strategy combines Bollinger Band breakouts with a 200-period EMA trend filter and UT Bot Alerts signals. It enters long when price and a fast EMA cross above the upper band, and short when they cross below the lower band; the EMA places price in a…

CryptoFuturesBreakoutTechnical indicators
Strategy library

This simple long-only trend-following method uses Donchian Channels to enter on a close above the upper band and to liquidate on a close below the lower band. It calculates the channels from prior candles, excluding the current candle, and requires price to…

Trend followingBreakoutTechnical indicatorsPosition sizing
Strategy library

This document describes a Bollinger Band strategy that enters on an upside breakout and reduces exposure in stages as price moves back toward or below the bands. The written method uses a 20-period simple moving average and bands two standard deviations…

CryptoFuturesBreakoutTechnical indicators
Strategy library

This futures system switches between separate range and trend modules using a Choppiness Measurement Index (CMI). The code calculates CMI over 30 observations: below 20 it enables the range module and blocks new trend entries; at or above 20 it enables the…

FuturesTrend followingMean reversionVolatility
Strategy library

This trend-following strategy combines a fast and slow EMA crossover with momentum and volume confirmation. A long signal requires the fast EMA to cross above the slow EMA, RSI to exceed 50, and volume to be more than 1.5 times its moving average. The short…

Trend followingMomentumTechnical indicatorsRisk management
Strategy library

This Pine Script describes a long-only dollar-cost-averaging strategy calibrated in its comments for INJ perpetual futures on a three-minute chart. A lower-timeframe RSI crossing upward through a configurable level arms the base entry. A separate RSI…

CryptoMean reversionTechnical indicatorsPosition sizing
Strategy library

This breakout strategy requires price to be above or below three moving averages, with RSI confirming the same direction. It then uses a recent high or low as a breakout trigger: a long signal requires the current high to exceed the prior fractal high, while…

FuturesBreakoutTechnical indicatorsPosition sizing