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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

16,761 documents

TradingView scripts

This indicator evaluates a grid of Supertrend settings formed by varying ATR length and multiplier across ten values each. For every combination, it tracks trend reversals as hypothetical entries and exits, records trades and wins, and calculates selectable…

Trend followingTechnical indicatorsBacktestingStatistics
TradingView scripts

This strategy adapts the Squeeze Momentum indicator into long and short trading rules. It compares Bollinger Bands with Keltner Channels to identify squeeze conditions, then uses a linear-regression momentum value to indicate direction and whether momentum…

CryptoMomentumVolatilityTechnical indicators
TradingView scripts

This TradingView strategy combines a range filter with configurable entries, volume checks, and trade management. It can enter when price crosses the filter’s middle line or moves beyond its bands; an optional midpoint-pass method adds another entry type.…

Technical indicatorsRisk managementVolatilityMomentum
TradingView scripts

This educational example explains how a Pine Script strategy can model leveraged position sizing and broker margin requirements. For percent-of-equity sizing, the author describes scaling the order percentage by the leverage multiple: using 3000% represents…

Risk managementPosition sizingBacktestingTechnical indicators
TradingView scripts

This strategy turns post-earnings announcement drift into a rules-based equity signal. It compares reported earnings per share with the estimate, expressing the difference as a percentage of the estimate’s absolute value. A surprise must exceed a…

EquitiesEvent-drivenMomentumBacktesting
TradingView scripts

This strategy script backtests a grid whose levels can be spaced arithmetically or geometrically around a reference price. It supports neutral, long-only, and short-only modes, with entries triggered by level crossings or pullbacks. Users can set a test…

Grid tradingBacktestingPosition sizingRisk management
TradingView scripts

This strategy combines a momentum reading, calculated as the change in a selected price source over a lookback, with a fast-minus-slow moving-average difference. It subtracts that MACD-like difference from momentum to form a delta series. A cross above zero…

MomentumTechnical indicatorsBacktesting
TradingView scripts

This strategy places limit orders at the prior bar’s VWAP while using the previous close relative to that VWAP to select long or short direction. The limit level updates as new bars form, creating a rolling entry reference. Inputs let users enable either…

Technical indicatorsMean reversionExecutionRisk management
TradingView scripts

This Pine strategy combines five configurable ICT/SMC-style entry modules: acceptance and rejection around pivot support or resistance, swing failure patterns at prior weekly extremes, higher-timeframe liquidity, displacement, and fair value gaps. The…

Technical indicatorsBreakoutRisk managementPosition sizing
TradingView scripts

This simple rule takes a long position when the current bar opens above the previous bar's open and a short position when it opens below it. The script uses a trailing exit and configures orders at a percentage of equity, with commission included in its…

MomentumTechnical indicatorsExecutionBacktesting
TradingView scripts

This long-only strategy tracks recent structure highs and lows, then looks for a low sweep followed by recovery and a close above the previously recorded structure high. After that breakout, it places a limit entry at either a chosen Fibonacci retracement of…

Technical indicatorsBreakoutPosition sizingRisk management
TradingView scripts

This indicator creates a time-based window intended to limit which chart bars a strategy uses for a backtest. The user selects a bar count; the script estimates the corresponding elapsed duration from the chart timeframe, subtracts it from the current time,…

BacktestingStatistics
TradingView scripts

This strategy uses a fast and slow exponential moving average crossover for directional entries, with an optional ADX filter to block new trades when trend strength is low. It describes four ways to set take-profit and stop-loss distances: fixed points, a…

Trend followingTechnical indicatorsRisk managementBacktesting
TradingView scripts

This strategy combines a 200-period exponential moving average with a Wave Trend style oscillator. The oscillator is derived from price’s deviation from an exponential average, normalized by a smoothed measure of that deviation, and smoothed again. A long…

Trend followingMomentumTechnical indicatorsBacktesting
TradingView scripts

The script is an intraday MNQ strategy that tracks one-minute swing pivots and market structure, then uses the most recently completed five-minute 20- and 50-period EMAs as a trend filter. It enters long after a bearish change of character when the EMA trend…

FuturesTechnical indicatorsRisk managementBacktesting
TradingView scripts

This strategy uses a seeded pseudorandom-number routine to trigger entries and exits when generated values fall below fixed probability thresholds. Users can enable long or short trading; the script sets position size as a percentage of equity, disables…

StatisticsBacktestingRisk managementPosition sizing
TradingView scripts

This strategy estimates a rolling price mean and standard deviation over a configurable lookback, then calculates a z-score to identify unusually low or high closes. It opens a long when the score falls below the negative entry threshold and a short when it…

Mean reversionTechnical indicatorsStatisticsRisk management
TradingView scripts

This TradingView strategy divides a fixed BTCUSDT perpetual-futures price range into configurable levels, using either geometric or arithmetic spacing. It allocates the stated total investment evenly across levels. When a bar closes through an unowned level…

CryptoPerpetual futuresGrid tradingPosition sizing
TradingView scripts

This strategy combines price structure, a smoothed baseline, volatility conditions, and volume-derived delta to generate long and short trades. It scores directional evidence from trend regime, swing highs and lows, volatility expansion, squeeze state, delta…

Technical indicatorsMomentumBreakoutRisk management
TradingView scripts

This gold-oriented strategy looks for two consecutive bullish bars whose volumes exceed a simple moving average of volume. The second bar must also have more volume than the first. When both bars satisfy the conditions, the script opens a long position and…

CommoditiesMomentumTechnical indicatorsBacktesting
TradingView scripts

This Bitcoin scalping strategy uses a T3 moving average, calculated from a cascade of six exponential averages, as a smoothed price reference. It opens a long position when closing price crosses above the T3 line and a short position when price crosses below…

CryptoTechnical indicatorsMomentumRisk management
TradingView scripts

This FCPO crude palm oil futures strategy combines five entry filters: price relative to EMA20 sets directional bias; MACD line versus signal line supplies momentum direction; KDJ J readings identify oversold or overbought conditions; Heikin Ashi and regular…

FuturesCommoditiesTechnical indicatorsRisk management
TradingView scripts

This long-only strategy combines a multi-pole Gaussian filter with a volatility band and Stochastic RSI. It enters when the filtered baseline rises, price closes above the upper band, and the Stochastic RSI %K is above %D. The script applies a date window…

CryptoTrend followingMomentumBreakout
TradingView scripts

This daily strategy for Grupo Financiero Galicia’s ADR uses moving-average crossovers to build and exit a long position. A faster average crossing above a medium average triggers an entry during a configurable backtest window. The script allows either…

EquitiesTrend followingTechnical indicatorsPosition sizing