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 trend-following method fits a linear regression to a rolling window of prices and measures the fitted slope relative to the standard deviation of deviations from the fit. The resulting trend-confidence measure is compared with separate entry and exit…

Trend followingStatisticsRisk managementBacktesting
Strategy library

This short-timeframe forex script combines fractal turning points with a three-EMA alignment filter. It calculates upper and lower fractals using a configurable lookback, alongside fast, medium, and slow exponential averages. The explanatory note describes…

ForexTechnical indicatorsTrend followingRisk management
Strategy library

This strategy combines a short-term reversal pattern with a stochastic oscillator and a CMO disparity signal. The described pattern looks for a change in the direction of recent closes; the oscillator compares its fast and slow readings against a threshold,…

Mean reversionTechnical indicatorsMomentumBacktesting
Strategy library

The strategy looks for a down gap followed by an up day: the current bar opens below the previous close and closes above its open. It enters long after that pattern, with the described entry occurring on the next session’s open or close. A trailing stop is…

Mean reversionTechnical indicatorsRisk managementBacktesting
Strategy library

This strategy uses a TD Sequential style count to identify potential reversals after a sequence of price comparisons. A completed downward sequence can mark a possible long signal, while an upward sequence can mark a possible short signal. The source code…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This strategy combines a short and long exponential moving average with engulfing candlestick patterns. A bullish bias requires price above the short EMA and the short EMA above the long EMA. A bullish engulfing bar accompanied by volume greater than the…

CryptoFuturesTrend followingBreakout
Strategy library

This script describes a moving-average breakout approach using a configurable 200-period EMA, SMA, or HMA, with a 15-minute EMA as a higher-timeframe filter. Inputs allow adaptive filters, distance limits from the averages, and a slope filter. The visible…

CryptoFuturesBreakoutTrend following
Strategy library

This open-source strategy combines the Choppiness Index with Directional Movement Index and Parabolic Stop and Reverse tools. The visible code calculates the index from the sum of true ranges over a lookback window relative to that window’s high-low span,…

Technical indicatorsTrend followingRisk managementBacktesting
Strategy library

This strategy uses the direction of a configurable moving average to define the prevailing trend, then enters when price breaks beyond the average by a threshold. It also allows re-entry on a pullback toward the average while the trend remains in place. Long…

Trend followingBreakoutTechnical indicatorsRisk management
Strategy library

This short-term strategy uses a long-term exponential moving average to set directional bias, then looks for a cross of the 20-period average confirmed by RSI. It enters long when price is above the 200-period average, crosses above the 20-period average,…

FuturesCommoditiesMomentumTechnical indicators
Strategy library

The Commodity Selection Index (CSI) combines Average True Range, which reflects price range, with Average Directional Index information to rank commodities by volatility and trend strength. The described approach compares CSI with its own simple moving…

CommoditiesMomentumVolatilityTechnical indicators
Strategy library

This strategy combines a custom G-Channel with RSI and MACD. The channel is recursively updated from the selected price source to form an average and a bullish or bearish state. Entries require agreement between that state, an RSI extreme, and MACD histogram…

FuturesTrend followingTechnical indicatorsMomentum
Strategy library

This daily momentum setup uses consecutive closes relative to a five-period simple moving average to identify an extended run. After at least eight closes above the average, it waits for a close back below it to enter long; after a similarly extended run…

MomentumMean reversionTechnical indicatorsFutures
Strategy library

This trend-following method compares a fast EMA with a slow EMA. A crossover above the slower average opens a long position, and a cross below it closes that position. The example uses configurable periods, with defaults of nine and twenty-one bars, and…

FuturesTrend followingTechnical indicatorsBacktesting
Strategy library

This hybrid strategy combines RSI, MACD, Bollinger Bands, moving-average trend checks, volume spikes, and rolling liquidity-zone boundaries. It defines three alternative long setups: an oversold reading below the lower band, positive MACD momentum with an…

FuturesTechnical indicatorsMomentumBreakout
Strategy library

This document describes a channel-based swing strategy intended for four-hour charts. It calculates rolling highs and lows over a configurable lookback, then derives adjusted channel limits. Long and short entries use price crossings of those limits, while…

FuturesBreakoutTechnical indicatorsRisk management
Strategy library

This Pine Script strategy trades gold using crossovers of 9-period and 21-period exponential moving averages, taking signals only when the ADX value exceeds 15 and the chart time falls within the specified weekday session. It places long and short entries on…

CommoditiesTechnical indicatorsTrend followingExecution
Strategy library

This strategy uses the WaveTrend oscillator to generate entries and exits, with optional direction filtering from an EMA calculated on a selected timeframe. Long entries follow a WT1 crossover above WT2 near the oversold region, and exits follow a bearish…

Technical indicatorsTrend followingRisk managementFutures
Strategy library

The document presents a long-oriented strategy built around MACD, RSI, and an EMA. Its narrative describes entering on a MACD golden cross when weekly RSI is above a threshold and price is above an EMA, then exiting when price falls below the EMA or MACD…

FuturesTechnical indicatorsTrend followingMomentum
Strategy library

This strategy combines an EMA trend filter, MACD direction, candle direction, and a time-of-day window to select intraday or short-term entries. Long entries require price above the EMA, positive MACD, and a bullish candle; short entries apply the inverse…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

This script outlines a configurable chart strategy built around TEMA and LSMA, with an EMA trend filter and ATR-based stop and target distances. Its inputs also indicate trend-strength and exhaustion checks, momentum divergence, volume confirmation, and a…

Technical indicatorsTrend followingMean reversionVolatility
Strategy library

This document describes a simple RSI-based trading bot for a spot account. It calculates RSI over a configurable period and uses configurable buy and sell thresholds to trigger trades. The entry logic compares recent RSI readings to detect a turn across a…

Technical indicatorsExecutionPosition sizing
Strategy library

This strategy calculates fast and slow Elder’s Force Index series using exponential averages of price change multiplied by volume, with periods of 13 and 50. Each series is standardized against its own recent average and standard deviation. A long signal…

FuturesCryptoMomentumStatistics
Strategy library

This strategy builds price bands around a simple moving average using ATR multiplied by configurable Fibonacci ratios. It plots three upper and three lower levels, with a 20-period lookback and default ratios of 1.618, 2.618, and 4.236. The source enters…

FuturesCryptoTechnical indicatorsVolatility