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 uses a fast and a slow moving average to define directional trades: an upward cross opens a long, and a downward cross opens a short. The document presents dynamic position sizing based on account equity and a user-defined risk setting,…

Trend followingTechnical indicatorsPosition sizingRisk management
Strategy library

This multi-indicator trend strategy combines three tools to qualify entries. AK MACD BB signals when the MACD line breaks above or below its bands; SSL uses price relative to a moving average and pullback behavior to indicate trend direction; and VSF…

CryptoTrend followingTechnical indicatorsRisk management
Strategy library

This document presents a trading system based on the Know Sure Thing (KST) momentum oscillator. It calculates four rates of change over different lookback periods, smooths them with moving averages, then combines them using progressively larger weights for…

FuturesMomentumTechnical indicatorsBacktesting
Strategy library

This strategy uses Bollinger Bands as a channel for trading potential trend changes. It calculates a simple moving average as the middle band and places upper and lower bands at a multiple of the rolling standard deviation. The described settings use a…

FuturesBreakoutTechnical indicatorsRisk management
Strategy library

This daily Bitcoin strategy combines two price thresholds with a moving average crossover. It opens a long when the prior close is below the lower threshold or the 10-day average crosses above the 30-day average; it opens a short when the prior close is…

CryptoTrend followingTechnical indicatorsRisk management
Strategy library

This strategy uses 10-period and 25-period simple moving averages to signal long entries when the fast average crosses above the slow one and short entries on a downward cross. It restricts entries to 08:30–15:00, closes positions at 15:00, and specifies…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This basic trend-following system compares a 9-period EMA with a 20-period EMA. It enters long when the faster average crosses above the slower one and enters short when it crosses below. Because an EMA weights recent prices more heavily than older prices,…

FuturesCryptoTrend followingMomentum
Strategy library

This strategy uses the Volume Flow Indicator (VFI), which combines price movement and volume, with exponential moving averages to filter long entries. The coded entry occurs when VFI crosses above a configurable buy line while the 50-period EMA is at or…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy combines RSI thresholds with price bands derived from a rolling volume-weighted average and standard deviation. It looks for long entries when price moves below the lower outer band and RSI turns up through its oversold threshold; short entries…

FuturesCryptoMean reversionTechnical indicators
Strategy library

This document presents a reusable Pine Script framework for backtesting strategies. Its stated design separates trade management from signal generation: a trader supplies conditions for starting and ending long or short positions, while the framework…

BacktestingRisk managementExecutionPosition sizing
Strategy library

This strategy uses simple moving averages to seek pullback entries during an established uptrend. It treats the 20-day SMA above the 60-day SMA as an uptrend filter, then enters long when the 5-day SMA crosses back above the 20-day SMA. An exit is signaled…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This Pine Script outlines a long-only strategy intended for weekly charts. It enters when the closing price lies between two Hull moving averages, the MACD histogram is below zero, and both a nine-period RSI and its short moving average cross above a longer…

Technical indicatorsTrend followingRisk managementBacktesting
Strategy library

This Pine Script strategy smooths log-transformed closing, high, and low prices with a custom Nadaraya-Watson kernel, then exponentiates the estimates to plot high and low envelope curves. It also computes an ATR-like measure from the smoothed prices and…

Technical indicatorsMean reversionVolatilityBacktesting
Strategy library

This strategy uses an EMA as a directional filter and MACD crossovers as entry triggers. Longs require price to remain above the EMA while MACD crosses upward below its zero line; shorts require price below the EMA while MACD crosses downward above zero. The…

Trend followingMomentumTechnical indicatorsRisk management
Strategy library

This Pine Script strategy builds a price range from the 08:00–08:15 New York session, locks its high and low, and tracks closes that break outside the range. During the 09:45–11:00 window, it enters when price retests the midpoint in the direction of the…

FuturesBreakoutRisk managementPosition sizing
Strategy library

This strategy pairs an ATR-based SuperTrend with volatility regime classification to generate trend-following entries. It estimates high, medium, and low volatility bands from a rolling ATR range, then conditions direction changes on the assigned regime:…

Trend followingVolatilityTechnical indicatorsMachine learning
Strategy library

This strategy combines a three-bar 123 reversal pattern, filtered by a stochastic oscillator, with a money-flow direction signal. The reversal component looks for a change in consecutive closing-price movement alongside oscillator conditions. The money-flow…

Technical indicatorsMean reversionTrend followingFutures
Strategy library

This document outlines a heuristic trading system that combines Stochastic RSI, Money Flow Index, MACD, and Bollinger Bands. It treats those indicators as multiple observations of uncertain market conditions and labels the approach POMDP-inspired. A long…

FuturesCryptoMean reversionTechnical indicators
Strategy library

This indicator plots a linear regression line with upper and lower bands based on the regression residual deviation. It supports a selectable price source, lookback length, offset, smoothing, and optional higher-timeframe data. The line color reflects its…

FuturesTechnical indicatorsBreakoutMean reversion
Strategy library

This strategy combines a pivot level derived from the prior period’s high, low, and close with two momentum measures: Rate of Change (ROC) and Stochastic RSI. A long signal requires price above the pivot, a bullish Stochastic RSI K/D crossover, and positive…

FuturesCryptoTrend followingMomentum
Strategy library

This document describes a short-term directional strategy built around an SSL channel. It calculates channel levels from simple moving averages of highs and lows, then uses channel behavior to signal long or short trades. The written overview presents…

FuturesCryptoMomentumBreakout
Strategy library

This note describes a trend-following approach built around a short simple moving average and a longer one set to twice its period. A bullish crossover signals a long entry, while a bearish crossover signals a short entry. The described entries use market…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

The strategy compares positive and negative directional indicators on a chart timeframe and a larger timeframe. Agreement between the two is treated as a directional trend signal: positive DI dominance indicates a long bias, while negative DI dominance is…

Trend followingTechnical indicatorsFuturesRisk management
Strategy library

This workflow describes automated long and short trading for USDT-margined perpetual futures. On a candle-close trigger, it reads account balance and market contract specifications, then calculates an order quantity from a configurable share of available…

Position sizingRisk managementExecutionPerpetual futures