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 short-term strategy pairs a 5-period and 21-period EMA crossover with the sign of the MACD histogram. A bullish crossover is accepted when the histogram is positive, and a bearish crossover when it is negative. The source sets fixed stop and target…

Technical indicatorsMomentumTrend followingRisk management
Strategy library

This strategy uses Parabolic SAR (PSAR) to track directional moves and place orders around the projected level for the next bar. The description treats PSAR below price as an uptrend and above price as a downtrend, with the indicator’s starting value,…

Technical indicatorsTrend followingRisk managementFutures
Strategy library

The strategy uses 10-period and 26-period exponential moving averages to signal long and short trades when the faster average crosses the slower one. The source enters at the close on the crossover and sets fixed price targets and stops, then permits another…

Technical indicatorsTrend followingRisk managementBacktesting
Strategy library

The visible portion describes an intraday breakout system that tracks premarket highs and lows, then looks for regular-session closes beyond those levels. It can filter trades using ADX strength and Bollinger Band width to avoid low-trend or low-volatility…

BreakoutTechnical indicatorsRisk managementUS markets
Strategy library

This strategy combines MACD, RSI, and Ichimoku components to seek long entries in directional markets. The written description calls for bullish MACD conditions, price above the cloud, and RSI below an overbought threshold; it exits on a bearish MACD…

Technical indicatorsTrend followingMomentumFutures
Strategy library

This strategy uses a 20-period simple moving average and bands set two standard deviations away to define entry levels. A close crossing back above the lower band triggers a long setup, while a close crossing back below the upper band triggers a short setup.…

Technical indicatorsBreakoutRisk managementBacktesting
Strategy library

This strategy uses bullish and bearish engulfing patterns to start positions in the direction of a 200-period EMA filter. It sizes an initial entry from a small equity fraction, then permits up to four additional entries when price moves against the position…

Technical indicatorsTrend followingPosition sizingRisk management
Strategy library

This strategy uses a fast, medium and slow EMA to define the broader trend, then looks for a pullback and a renewed move through the fast EMA. The example uses 25-, 100- and 200-period averages: bullish alignment requires the fast EMA above the medium EMA…

Trend followingBreakoutTechnical indicatorsRisk management
Strategy library

This strategy builds a MACD-style line from the difference between configurable fast and slow moving averages, with options for simple, exponential, weighted, or linear-regression averages. It then calculates a moving average and standard-deviation bands…

Technical indicatorsMomentumMean reversionTrend following
Strategy library

This document explains a simple position-visualization technique built around moving-average crossovers. A fast simple moving average crossing above a slower one triggers a long entry; a downward cross triggers a short entry. At entry, the script records the…

Technical indicatorsRisk managementExecutionFutures
Strategy library

This document presents a directional crypto futures strategy based on the Parabolic SAR indicator. While flat, it opens a long position when the latest price is above the latest SAR value, or a short position when price is below it. A long is closed when…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This market-making bot places a limit buy and a limit sell around a reference price for one trading pair. The reference can be the mid price or most recent trade, and separate bid and ask spreads determine how far each quote sits from it. When the refresh…

Market makingExecutionCrypto
Strategy library

This Pine Script strategy calculates initial balance ranges for Bitcoin and a configurable panel of cryptocurrency pairs. Its visible code defines a volatility stop using an average true range length and multiplier, and begins computing session highs and…

CryptoBreakoutVolatilityTechnical indicators
Strategy library

This Pine Script strategy accepts an external buy or sell signal and manages one open position at a time. Same-direction signals are ignored while a position is open. An opposing signal can be configured to do nothing, close the position, or close it and…

Risk managementPosition sizingExecution
Strategy library

The document describes an intraday trend strategy that compares fast and slow exponential moving averages across several chart intervals. It proposes entering long when the fast average is above the slow average on the selected intervals, and short when it…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy combines trend, pullback, and momentum filters. It uses a 200-period simple moving average to set the broad direction, then looks for a recent move across a 50-period exponential moving average as a pullback condition. Long entries require…

Trend followingMomentumTechnical indicatorsRisk management
Strategy library

This document presents a trend-following method that builds a channel from price data and the Average True Range (ATR). A close moving beyond the channel by one ATR triggers an initial directional signal; a move of two ATRs triggers a stronger, second-tier…

FuturesTrend followingBreakoutVolatility
Strategy library

This short example uses Bollinger Bands calculated over 20 periods with a two-standard-deviation setting, but its position rules rely on the middle band. When flat, it opens a long position if the previous candle closes above the midline, or a short position…

Technical indicatorsTrend followingCrypto
Strategy library

This trading-terminal plugin automates a simple buy-then-sell sequence. The user sets a buy price, purchase amount, target sell price, and account-check interval. The script first cancels all pending orders, checks that the account balance can cover the…

ExecutionSpot marketsRisk management
Strategy library

This trend-following system combines a fast and slow EMA crossover with a longer-period SMA filter and a relative volume condition. It takes long positions when the fast EMA crosses above the slow EMA while price is above the trend average and volume exceeds…

CryptoTrend followingMomentumTechnical indicators
Strategy library

This calendar-based equity strategy aims to capture a rebound around Tuesday by entering long at Monday’s open and exiting at Wednesday’s open. Entry requires the previous close to be below a 30-period simple moving average, a low short-period RSI reading,…

EquitiesMean reversionTechnical indicatorsBacktesting
Strategy library

This long-only setup looks for a brief pullback after a strong upward candle, then enters when price resumes upward and breaks above the prior bar’s high. A qualifying initial candle must rise by a fraction of ATR and occur on volume above both a multiple of…

CryptoMomentumBreakoutTechnical indicators
Strategy library

This strategy looks for breakouts from unusually narrow ranges in the Relative Strength Index. It measures the recent RSI high-to-low range, ranks that range against its historical window, and treats a low percentile rank as a squeeze. A long signal occurs…

MomentumBreakoutTechnical indicatorsPosition sizing
Strategy library

This document outlines a short-term strategy that uses a 5-period and 13-period EMA to indicate direction, with MACD, its slope and signal line, ADX, and an RSI-based signal as additional filters. It describes long and short setups that require six…

EquitiesMomentumTechnical indicatorsRisk management