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 script outlines an intraday opening-range breakout strategy that uses an anchored VWAP retest as part of its setup. Its inputs define a session timezone, a range-building window, a breakout timeframe, and a final time for new entries. It can enable long…

BreakoutTechnical indicatorsRisk managementPosition sizing
Strategy library

This strategy treats a narrow-range day as a possible precursor to a volatility expansion. It identifies a day whose high is below the high from a reference period and whose low is above that period's low, then places buy-stop and sell-stop orders at the…

BreakoutVolatilityPosition sizingRisk management
Strategy library

This hourly EUR/USD strategy assigns a short position during the specified morning window, when Europe is open and the US is described as closed, then a long position during the following window, described as Europe closed and the US open. Outside those…

ForexSpot marketsExecutionBacktesting
Strategy library

This strategy uses a 20-period simple moving average and bands set two standard deviations above and below it. A move crossing upward through the lower band triggers a long position, while a move crossing downward through the upper band closes it. Position…

Technical indicatorsMean reversionVolatilityPosition sizing
Strategy library

This strategy uses a 200-period EMA to set directional bias, then looks for price to break a trendline drawn through two recent confirmed pivots. Long setups use descending pivot highs when price is above the EMA; short setups use ascending pivot lows when…

FuturesCryptoBreakoutTrend following
Strategy library

This visual-programming example describes a loop that compares the market value of a crypto holding with the account's cash balance. It calculates the difference between those values and, when that difference exceeds a threshold of five percent of the…

CryptoSpot marketsPortfolio constructionPosition sizing
Strategy library

This RSI-based strategy uses a 21-period RSI with thresholds of 20 and 80. The described entry signal is an upward cross of the oversold threshold, while a downward cross of the overbought threshold is described as a sell signal. It also specifies a stop…

FuturesTechnical indicatorsMomentumRisk management
Strategy library

This Bitcoin strategy trades both long and short as the SuperTrend indicator changes direction. It sets stop distances using ATR, with described defaults of a 14-period ATR and a 1.5 multiplier, while SuperTrend uses a 9-period ATR and a 2.5 factor. The plan…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This strategy combines stochastic oscillator levels and moving average direction to take long or short positions. A long entry is triggered by an upward stochastic cross in oversold territory or a filter signal, provided the moving average is rising; short…

CryptoTechnical indicatorsTrend followingRisk management
Strategy library

This long-only DCA system starts with a fixed-amount purchase, then adds safety orders when price falls by a specified percentage from the latest entry. Each successive order grows by a configurable multiplier, while the strategy tracks aggregate cost and…

CryptoSpot marketsMean reversionGrid trading
Strategy library

This short-term strategy combines the RSI of the Ultimate Oscillator with Williams Alligator averages to identify short entries. It opens a short when the Alligator averages are ordered downward, price is below the middle average, and the RSI of the Ultimate…

FuturesTechnical indicatorsMomentumRisk management
Strategy library

This long-only strategy opens a position when the close crosses above a simple moving average, set to 20 periods by default. If the holding falls to a specified loss threshold, it adds a fraction of the current position, aiming to lower the average entry…

Mean reversionPosition sizingRisk managementTechnical indicators
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 strategy uses a seeded pseudorandom sequence to generate long or short entries and exits. Thresholds control how often signals occur: lowering them reduces trading frequency, while raising them increases it. Users can enable longs or shorts, and the…

EquitiesStatisticsBacktestingPosition sizing
Strategy library

This strategy seeks reversals at automatically detected support and resistance, while using the relationship between 20-period and 50-period EMAs to filter entries by trend. A long setup requires price to approach support within a stated tolerance and close…

Technical indicatorsTrend followingRisk managementPosition sizing
Strategy library

This Bitcoin long strategy combines a daily higher-timeframe signal with faster chart entries. It derives a volume-weighted RSI from daily price changes and smooths it to form a directional filter. On the lower timeframe, a linear-regression measure crossing…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This script describes a long-only breakout system with configurable filters and trade management. It enters when price breaks above either a recent high or an all-time-high proxy, with an option to require a closing-price break. The default filters require…

BreakoutTrend followingMomentumTechnical indicators
Strategy library

This proposed framework combines price, volume, RSI, accumulation/distribution, and a Smart Money Index to infer crowd extremes, institutional activity, and potential liquidity traps. It also defines an equilibrium band using a moving average and standard…

Technical indicatorsSentimentMarket microstructurePosition sizing
Strategy library

This script defines a long-only S&P 500 benchmark that holds a position sized at 160% of account equity during a selected backtest window. It enters when the window is active and the strategy has no long position, then closes the position when the window…

EquitiesUS marketsBacktestingPosition sizing
Strategy library

This short-timeframe strategy uses a 20-period exponential moving average as a trend line and on-balance volume (OBV) as confirmation. It enters long when price crosses above the EMA and OBV rises from the prior candle; it enters short when price crosses…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This intraday system combines a fast and slow EMA, RSI, MACD, a minimum volume filter, and engulfing candlestick patterns. Long signals require the fast EMA above the slow EMA, RSI above 50, MACD above its signal line, sufficient volume, and a bullish…

FuturesMomentumTechnical indicatorsPosition sizing
Strategy library

The strategy builds a range from prices during the 8:00–8:15 a.m. New York session, then tracks whether price closes above or below it. During the 9:45–11:00 a.m. trading window, it enters in the breakout direction when price returns to the range midpoint.…

FuturesBreakoutTechnical indicatorsRisk management
Strategy library

This strategy looks for a two-bar inside pattern within a mother candle and uses a moving average to choose direction. When the pattern is confirmed, a close above the selected average permits a buy-stop near the second inside bar’s high; a close below it…

FuturesTrend followingBreakoutTechnical indicators
Strategy library

This strategy uses pseudo-random values to choose long or short entries and separate random conditions to close positions. After entry, it sets an ATR-based stop and divides the position into three parts with progressively farther profit thresholds. As price…

FuturesCryptoVolatilityRisk management