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 system compares the gap between a fast and a slow exponential moving average with a volatility-scaled threshold. With the stated defaults, it uses 30- and 60-period EMAs and compares their difference with 0.3 times a 60-period ATR.…

FuturesTrend followingVolatilityTechnical indicators
Strategy library

The RORO System Oscillator combines a normalized trend measure with a normalized momentum measure. Trend is the difference between an Arnaud Legoux Moving Average and a volume weighted moving average, scaled relative to the latter; momentum is a rate of…

Trend followingMomentumTechnical indicatorsBacktesting
Strategy library

This strategy implements a Turtle style breakout system using Donchian channels. When flat, it calculates an entry channel and places stop orders for breakouts above or below its boundaries. It also calculates a shorter Donchian channel for exits. After an…

FuturesTrend followingBreakoutVolatility
Strategy library

This example shows how to configure a forex algorithm and request historical data for several currency pairs. It subscribes to EUR/USD, GBP/USD, and EUR/GBP at minute resolution, then requests recent daily, hourly, minute, and short-interval second history.…

Forex
Strategy library

This strategy uses closing-price crossovers of two moving averages to trade trend changes. A close moving above the 20-period simple moving average triggers a long entry, while a close moving below the 21-period exponential moving average triggers a short…

FuturesTrend followingBreakoutTechnical indicators
Strategy library

This Pine strategy combines doji candles with price zones derived from swing pivots. Its extensive settings cover pivot detection, ATR-scaled zone width and departure, zone expiry and break handling, retest confirmation, doji body and wick shape, proximity…

ForexTechnical indicatorsBreakoutRisk management
Strategy library

This strategy uses a Trend Strength Index (TSI) derived from price changes, smooths the changes and their absolute values with Hull moving averages, then smooths the resulting index again to form a signal line. The document describes comparing the index with…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

This Lean example trades minute-resolution SPX index options using the underlying index’s exponential moving averages. It adds SPX and a calls-only option subscription, then checks option contracts when index data arrives. When the fast EMA is above the slow…

OptionsUS marketsTrend followingTechnical indicators
Strategy library

This document describes a multi-indicator strategy intended to adapt its signals and risk controls to trending, ranging, volatile, or quiet conditions. It combines fast and slow EMAs with ATR thresholds, higher-timeframe RSI and MACD confirmation, and regime…

Technical indicatorsTrend followingVolatilityRisk management
Strategy library

This script estimates preferred hours for long and short orders by associating indicator values with the hour of day in a selected time zone. It represents each hour as an angle on a 24-hour circle, computes indicator-weighted sine and cosine averages, and…

StatisticsTechnical indicatorsCryptoExecution
Strategy library

This strategy uses two Triple Exponential Moving Averages with different lookback periods to generate directional signals. The shorter TEMA crossing above the longer one opens a long position; crossing below opens a short position. An opposing crossover…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

This strategy combines Bollinger Bands with RSI to look for possible reversals. It defines the middle band as a simple moving average and places the outer bands at a multiple of standard deviation from that average. A long signal occurs when price crosses…

Technical indicatorsMean reversionVolatilityExecution
Strategy library

This teaching example describes a triangular hedge using ETH/BTC, ETH/USDT, and BTC/USDT markets. It compares the ETH/BTC quote on one venue with an implied ETH/BTC rate calculated from the other two pairs. When the difference exceeds a fixed threshold, it…

CryptoArbitrageExecutionMarket microstructure
Strategy library

This strategy adapts the CDC Action Zone indicator into rules for trading trend alignment. It first smooths a selected price source, then calculates fast and slow exponential moving averages, with defaults of 12 and 26 periods. A bullish state occurs when…

FuturesTrend followingTechnical indicatorsBacktesting
Strategy library

This trend-following method uses 25- and 100-period moving averages to set direction: a fast-over-slow crossover signals long, and a crossunder signals short. A rolling count of price crossings of the fast average acts as a noise filter, allowing signals…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This strategy combines Stochastic RSI with Bollinger Bands to seek short-term mean-reversion trades. It describes buying when the oscillator is below 0.1 and price is at or below the lower band, and shorting when the oscillator is above 0.9 and price is at…

FuturesMean reversionTechnical indicatorsRisk management
Strategy library

This chart strategy combines a fast EMA, a Bollinger Band basis, and the Awesome Oscillator (AO) to identify directional signals. A long signal occurs when the fast EMA crosses above the band basis, price is above the basis, and AO indicates positive…

ForexTechnical indicatorsBreakoutMomentum
Strategy library

This BTC futures strategy combines 55- and 300-period simple moving averages with 576- and 676-period exponential moving averages. Its stated approach uses moving-average crossovers for long and short entries, with stop-loss, take-profit, and trailing-stop…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This document describes a two-sided trading framework led by price crossing a nine-period EMA. An entry also requires either a confirming MACD crossover, using the stated 12-26-9 settings, or an RSI condition near an extreme: below 35 for buys or above 65…

High-frequency tradingTechnical indicatorsMomentumRisk management
Strategy library

This document outlines an automated crypto dollar-cost-averaging workflow that runs hourly. It gathers daily market candles to calculate MACD, RSI, ATR, and OBV, and retrieves recent crypto news for an AI model to assess short- and long-term sentiment. The…

CryptoSpot marketsTechnical indicatorsSentiment
Strategy library

This framework evaluates how long a directional trend remains intact rather than reacting to each change in direction. It defines direction using fast and slow exponential moving averages, then counts consecutive bars with the fast average above or below the…

Trend followingTechnical indicatorsVolatilityRisk management
Strategy library

This document presents a long-only reversal system based on two consecutive candles whose lows differ by no more than 0.02%. A detected pattern triggers a long entry, with a stop set 0.1% below the reference close and a take-profit level 0.3% above it. The…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This document describes a trend-following system that combines a 14-period RSI with a 45-period weighted moving average and an 89-period exponential moving average. The crossover rules are applied to the RSI series: a WMA cross above the EMA with RSI below…

CryptoFuturesTrend followingMomentum
Strategy library

This strategy looks for short-term reversals when price moves beyond Bollinger Bands. It combines an SMA reference, volatility-adjusted RSI thresholds, volume relative to its average, an optional higher-timeframe trend check, and a normalized ATR filter.…

Mean reversionTechnical indicatorsVolatilityRisk management