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,574 documents

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 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 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 script derives a central pivot and Fibonacci-scaled support and resistance levels from daily high, low, and close values. It looks for rejection moves at selected levels: longs when price recovers above support, and shorts when price falls back below…

Technical indicatorsRisk managementPosition sizingBacktesting
Strategy library

This document outlines an intraday USDJPY strategy using RSI, Parabolic SAR, and simple moving averages. The stated long setup requires price above a long-term SMA, a shorter SMA above a longer one, and RSI crossing upward through its oversold threshold. The…

ForexTechnical indicatorsTrend followingBacktesting
Strategy library

This strategy uses Bollinger Bands to define possible reversal entries and the middle band as an exit level. A close moving upward through the lower band triggers a long entry, which is closed when price rises above the middle band. A downward move through…

ForexTechnical indicatorsMean reversionBacktesting
Strategy library

This daily foreign-exchange strategy combines a Kijun Sen baseline with Williams Percent Range confirmation. It can calculate signals from regular or Heikin-Ashi candles. A long signal occurs when the candle crosses upward through the baseline and Williams…

ForexTechnical indicatorsPosition sizingRisk management
Strategy library

This strategy combines pin bar patterns with a three moving average trend filter. A bullish pin bar must pierce an average from above and close above it while the fast, medium, and slow averages are aligned upward; bearish entries use the inverse conditions.…

ForexFuturesTrend followingTechnical indicators
Strategy library

This two-sided strategy combines CCI and RSI extremes with Keltner Channel boundaries, a volume filter, and an optional moving-average trend filter. Long entries require CCI and RSI below their oversold thresholds, price below the lower channel, sufficient…

ForexTechnical indicatorsMean reversionTrend following
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 shows how to send portfolio targets from a QuantConnect algorithm to Collective2 when a fast and slow exponential moving average cross. It initializes a set of equity, forex, futures, and options targets, disables scheduled automatic exports,…

EquitiesForexFuturesOptions
Strategy library

This strategy pairs a short exponential moving average crossing the Bollinger Band basis with the Awesome Oscillator's direction and momentum state. A long entry occurs when the fast average crosses above the basis, price closes above it, and the oscillator…

ForexCryptoBreakoutTechnical indicators
Strategy library

This forex strategy pairs a 15-period and 50-period EMA crossover with a Stochastic Oscillator using (5,3,3) settings. Long signals combine an upward EMA crossover with an oversold Stochastic reading that is rising; short signals combine a downward crossover…

ForexTrend followingTechnical indicatorsRisk management
Strategy library

The described method combines a 20-day baseline derived from the highest high and lowest low with Williams %R confirmation for daily GBP/JPY trading. A move across the baseline sets the directional signal, while Williams %R crossing above -35 confirms a long…

ForexTechnical indicatorsRisk managementPosition sizing
Strategy library

This script describes a mean-reversion approach built around a volume-weighted average price calculated over a rolling window. It estimates volume-weighted absolute deviation from that basis and uses bands at two and three times the deviation. A long signal…

ForexMean reversionTechnical indicatorsRisk management
Strategy library

This document outlines a short strategy for liquid currency pairs, using a price move and a time limit to define trade decisions. It describes sizing positions from a set fraction of account equity and setting stop-loss and take-profit levels. The listed…

ForexFuturesRisk managementPosition sizing
Strategy library

This example turns a visual Bollinger Band double-bottom, or W-shaped pattern, into arithmetic rules. It builds 20-period bands from a rolling mean and standard deviation, then scans a 75-bar window for a sequence of candidate nodes: an initial lower-band…

ForexTechnical indicatorsMean reversionBacktesting
Strategy library

The HLHB system is presented as a short-term forex trend strategy. It calculates RSI from the average of each bar's open and close, alongside 5-period and 10-period EMAs and ADX. A long entry is signaled when RSI crosses above 50 and the faster EMA crosses…

ForexTrend followingMomentumTechnical indicators
Strategy library

This script applies ordinary least squares over a rolling window to relate a lower-timeframe price series to a generated series based on the square root of price and a time-dependent component. It then smooths the regression output with a Karobein…

StatisticsTechnical indicatorsTrend followingForex
Strategy library

This short-term strategy describes opening a market short when there is no open trade. Position size is calculated from account equity, a per-trade risk percentage, the stop distance, and point value. A trade closes when its stop-loss or take-profit level is…

ForexPosition sizingRisk managementTechnical indicators
Strategy library

This multi-symbol forex expert advisor combines a Nadaraya–Watson envelope with RSI and an ATR-based stop finder. It looks for a recent bar to extend beyond an envelope boundary, followed by a reversal-colored candle, a current price positioned within part…

ForexMean reversionTechnical indicatorsRisk management
Strategy library

This trend system combines four smoothed moving averages with different lengths and a longer EMA. Long entries require price above all the averages and the averages aligned from shortest to longest; short entries use the reverse alignment. The source also…

Technical indicatorsTrend followingForexFutures
Strategy library

This example demonstrates using IMF exchange-rate data as a predictor for a futures position. It loads EUR currency data alongside an AEX futures contract, calculates 10-, 50-, and 250-period linearly weighted moving averages of the currency series, and…

FuturesForexTechnical indicatorsBacktesting
Strategy library

This strategy uses Williams %R threshold crossings to reverse between long and short positions. A long signal occurs when the oscillator crosses above its lower threshold while ATR is rising; a short signal occurs when it crosses below its upper threshold…

ForexMean reversionMomentumTechnical indicators