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

1,414 documents

Strategy library

This gold swing strategy seeks pullbacks in the direction of a filtered trend. Long setups require price above VWAP, a rising fast EMA above the slow EMA, a bullish reclaim of the fast EMA, and RSI above a threshold. Short setups apply the inverse…

CommoditiesTrend followingTechnical indicatorsRisk management
Strategy library

This intraday strategy fades moves toward bands placed around VWAP. It sets upper and lower levels using an asset-specific volatility value multiplied by a global adjustment factor. A long setup occurs when price reaches the lower band area and closes up; a…

FuturesCommoditiesMean reversionVolatility
Strategy library

This strategy applies an Optimized Trend Tracker (OTT) to a selectable moving-average calculation, with a 40-period baseline and a default VAR average. It places upper and lower rails around the OTT line and describes entries as price breaks through those…

Trend followingTechnical indicatorsFuturesCommodities
Strategy library

The document presents an FCPO momentum scalping strategy configured through several presets or manual inputs. Its stated controls include ATR-based volatility limits, a minimum ATR floor to avoid inactive markets, candle body size and body-to-range…

FuturesCommoditiesMomentumVolatility
Strategy library

The document introduces a silver-only strategy intended for 30-minute charts. Its stated design combines multiple confirmations for entries, average true range-based stops, and trading-session filters. The visible inputs set a minimum number of…

CommoditiesTechnical indicatorsRisk managementPosition sizing
Strategy library

This XAU/USD strategy combines a 50-period and 200-period EMA trend filter with MACD crossover signals and an RSI range check. It opens long positions when price and the EMA relationship indicate an uptrend, MACD crosses upward, and RSI is between 50 and 70;…

CommoditiesForexTrend followingMomentum
Strategy library

This strategy combines a UT Bot reversal signal with a higher-timeframe trend filter and an ADX strength threshold for long entries on a 15-minute gold chart. It calculates a 200-period EMA on the one-hour timeframe and requires price to be above that…

CommoditiesTrend followingTechnical indicatorsRisk management
Strategy library

This strategy script describes a framework for trading gold and EUR/USD with price action concepts associated with ICT. Its visible settings combine a fast and slow exponential moving average for trend direction, RSI thresholds to avoid entries when price…

ForexCommoditiesTechnical indicatorsRisk management
Strategy library

This gold strategy organizes entries into three stages. A fast Hull moving average compared with a slower one defines the directional regime. Price must first stretch away from a reference Hull average by an ATR-scaled distance, then return within an…

CommoditiesTrend followingMomentumTechnical indicators
Strategy library

This example describes a daily gold futures strategy using the Aroon indicator over a 10-period lookback. It opens a fixed-size long position when Aroon Up crosses above Aroon Down or when Up is above 75 while Down is below 25. It opens a short position on…

FuturesCommoditiesTrend followingTechnical indicators
Strategy library

This strategy for a gold futures contract combines candle structure, relative volume, a moving-average trend filter, and time-of-day restrictions. A long setup requires a bullish candle that encompasses the prior bar’s range, closes above the prior open, and…

FuturesCommoditiesTechnical indicatorsMomentum
Strategy library

The visible portion describes a gold strategy that combines liquidity-sweep reversals with RSI-divergence scalps. Both modules can be enabled independently, with settings for trade direction, lookback periods, risk-to-reward targets, stop buffers, and…

CommoditiesMean reversionTechnical indicatorsRisk management
Strategy library

This document describes a Python helper for retrieving futures candlestick data from HeXun’s third-party service. The function accepts an instrument, bar interval, requested history size, and options for including the latest bar or returning a DataFrame. It…

FuturesCommoditiesChina marketsExecution
Strategy library

This futures spread strategy assumes the combined value of gasoline and diesel relative to crude oil fluctuates around a historical mean. It forms a weighted spread using contract multipliers and a 3:2:1 ratio, then compares the latest spread with its…

FuturesCommoditiesMean reversionArbitrage
Strategy library

This example trades a soybean crush spread using soybean, soybean meal, and soybean oil futures. It estimates a weighted spread from the component prices and contract multipliers, using a 10:8:2 ratio to approximate processing yields. A rolling history…

CommoditiesFuturesPairs tradingMean reversion
Strategy library

This strategy models the relationship between Brent crude and the Norwegian krone with a rolling ordinary least squares regression. It fits the model on a recent window, accepts it only when its R-squared exceeds a chosen threshold, then estimates the…

CommoditiesForexMean reversionPairs trading
Strategy library

This example builds a relative-value spread from live hog futures and the estimated feed inputs of corn and soymeal. It scales each contract’s price by its contract multiplier and a production ratio, then defines the feeding margin as hog value minus feed…

FuturesCommoditiesMean reversionPairs trading
Strategy library

This TradingView strategy combines a breakout from a recent price range with a daily trend filter. It compares the daily close with a 50-period daily EMA, then takes a long signal when price closes above the prior bar’s 20-bar high, the bar is bullish, and…

CommoditiesBreakoutMomentumTechnical indicators
Strategy library

This Pine Script excerpt outlines a gold scalping strategy that combines moving-average trend direction, RSI pullback signals, and market filters. Its inputs define fast and trend EMAs, RSI trigger and oversold or overbought levels, an ATR-based distance to…

CommoditiesMomentumTechnical indicatorsRisk management
Strategy library

This example describes a simple long-only gold futures signal that combines futures prices with an IMF gold commodity series. It loads gold futures and commodity data, evaluates them in rolling windows, and returns a positive position when the latest…

FuturesCommoditiesTrend followingBacktesting
Strategy library

This intraday pairs strategy trades the spread between the front-month and next-month futures contracts. It builds separate buy-side and sell-side spread prices using the relevant bid and ask quotes, then calculates rolling Bollinger Bands over a 60-minute…

FuturesPairs tradingMean reversionCommodities
Strategy library

This short-horizon breakout approach combines MACD histogram direction with a moving-average filter and recent price extremes. A long signal requires a positive, rising histogram, a close above the average, and a close above the highs of the prior three…

BreakoutMomentumTechnical indicatorsCommodities
Strategy library

This futures strategy computes a running Volume Price Trend (VPT) value by adding volume weighted by each bar’s percentage price change. It compares the latest VPT with its 14-period average and checks whether current volume exceeds the preceding 14 bars’…

FuturesCommoditiesMomentumTechnical indicators
Strategy library

This one-minute gold strategy uses Heikin-Ashi-style price inputs, candle strength, a 20-period simple moving average, and ATR to filter entries. It enters long when price is above the average and the candle body is strong, or short when price is below the…

CommoditiesTrend followingTechnical indicatorsRisk management