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 presents a long only averaging strategy for leveraged perpetual futures. It seeks an entry when a fast timeframe RSI crosses below an oversold threshold while a slower timeframe’s fast EMA is above its slow EMA. If price falls after entry, up…

CryptoPerpetual futuresMean reversionTrend following
Strategy library

This long-only trend-following strategy enters when a fast simple moving average crosses above a slower one. Position quantity is based on account balance divided by price, while a confidence factor scales exposure. The exit is a trailing stop that rises…

Technical indicatorsTrend followingVolatilityPosition sizing
Strategy library

This example places a set of limit buy orders below the current Bitcoin price and sell orders above it on a Binance perpetual futures contract. The order prices step progressively farther from the ticker price, while order quantities increase in tiers as…

CryptoFuturesPerpetual futuresPosition sizing
Strategy library

This example demonstrates a symmetric ladder of limit orders around the current BTC price on a swap contract. It sets 20x margin, then places progressively more distant buy orders below the ticker price and sell orders above it. Order sizes increase in steps…

CryptoFuturesPosition sizingExecution
Strategy library

This trend-following system combines five simple moving averages with slope checks, price location, pullback signals, and Directional Movement Index confirmation. It uses the 20- and 200-period averages as its main trend filters: both slopes and their…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This Pine strategy combines two Vegas channel and SuperTrend configurations to generate entries, with user controls for long, short, or both directions. It also exposes a holding-period limit and configurable take-profit and stop-loss behavior. The visible…

Technical indicatorsRisk managementPosition sizingBacktesting
Strategy library

This trend-following strategy combines Parabolic SAR and a fast EMA for direction, RSI for momentum, and ADX for trend strength. A long signal occurs when price crosses above SAR, closes above the EMA, RSI exceeds 60, and ADX meets its threshold; shorts use…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

The visible portion describes a reversal scalping strategy that looks for a run of same-direction candles moving away from an earlier reversal candle. The run length is configurable, and a small allowance can permit one candle to close slightly against the…

Technical indicatorsMomentumMean reversionRisk management
Strategy library

This example describes a simple long-only system that enters whenever it has no open position and two waiting periods have elapsed. It closes a position at a fixed dollar profit target or loss limit, pauses for twelve hours after a loss, and delays another…

FuturesRisk managementPosition sizingBacktesting
Strategy library

This trend-following strategy combines a short and long EMA crossover with RSI and MACD confirmation. The stated defaults use 9- and 21-period EMAs, a 14-period RSI, and standard MACD settings. A long entry follows an upward EMA cross when RSI is below the…

CryptoTrend followingMomentumTechnical indicators
Strategy library

This strategy uses MACD signal-line crosses as pullback entry triggers, filtered by a long-term price trend and ADX. With the filters enabled, long entries require price above its trend EMA, a bullish MACD cross below zero, and ADX above a threshold; shorts…

MomentumTrend followingTechnical indicatorsRisk management
Strategy library

This strategy uses prior price channels to enter breakouts and a long-term simple moving average to filter direction. Long trades require price above the trend average and a breakout above the entry channel; optional shorts use the opposite relationship.…

BreakoutTrend followingRisk managementPosition sizing
Strategy library

The document describes a multi-level trading approach combining MACD, RSI, EMA, Bollinger-style bands, Fibonacci levels, and Heikin Ashi candles. Its stated method uses technical indicators to assess trend and momentum, then places entries at multiple price…

FuturesTechnical indicatorsPosition sizingRisk management
Strategy library

This strategy combines 10- and 20-period EMA crossovers with a 200-period EMA trend filter and above-average volume confirmation. It is described for four-hour or daily charts: longs follow bullish crossovers above the long EMA, while shorts follow bearish…

Trend followingMomentumTechnical indicatorsRisk management
Strategy library

This long-and-short system combines signals from 30-minute and 1-hour charts. A 30-minute MACD crossover is the primary trigger, with the higher-timeframe MACD available for confirmation. Long entries also require the 30-minute RSI above 55 and price above…

Technical indicatorsVolatilityRisk managementPosition sizing
Strategy library

This system combines Heiken Ashi candle shapes with Supertrend direction and an optional ADX strength filter to identify long and short trend entries. A candle with no lower wick supports a long signal, while one with no upper wick supports a short signal;…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This document outlines a long-only strategy on a one-hour timeframe. It enters when the closing price is above a 100-period exponential moving average and the MACD line is above its signal line. The position is closed when MACD falls below its signal line…

Technical indicatorsTrend followingMomentumPosition sizing
Strategy library

This strategy uses a 12-period RSI to trigger long entries when RSI is above 70 and closes an open long when RSI falls below 62. It restricts new entries to a rolling 2,500-day window and sizes each entry using the full account equity divided by the closing…

CryptoFuturesMomentumTechnical indicators
Strategy library

This trend-following system forms a channel from separate 44-period EMAs of highs and lows, with a 200-period EMA of closing prices as an optional long-term filter. It enters long when price closes above the upper channel and short when it closes below the…

Trend followingBreakoutTechnical indicatorsRisk management
Strategy library

The document introduces a Pine Script strategy named for opening range breakouts and shows configuration for equity-based order sizing. Its visible settings include optional time-of-day and weekday filters, along with a monthly filter whose inputs begin…

BreakoutRisk managementPosition sizingTechnical indicators
Strategy library

This trend-following system uses a McGinley Dynamic average as a directional filter and a Hull moving average curve to time entries. A turn in the Hull curve can trigger a long or short position when the McGinley baseline points in the matching direction; an…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This Pine Script excerpt outlines a gold scalping strategy that combines moving-average trend direction, RSI pullback signals, and market filters. Its inputs define fast and trend EMAs, RSI trigger and oversold or overbought levels, an ATR-based distance to…

CommoditiesMomentumTechnical indicatorsRisk management
Strategy library

The strategy places a long limit order below a reference price, defined from a selected price series and recent range settings. The documented rule describes using a recent low as the reference, then entering after a percentage decline. It sets…

CryptoFuturesMean reversionRisk management
Strategy library

This strategy uses a GM-8 moving average to identify crossovers, ADX to filter for trend strength, and a second EMA to confirm direction. A long entry occurs when price crosses above GM-8 and is above both averages while ADX exceeds its threshold. A short…

Trend followingTechnical indicatorsRisk managementPosition sizing