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
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 strategy uses the sign of a benchmark’s long-window log return to set a directional regime for a US equity index instrument. With the default eighteen-month lookback, positive momentum calls for a long position; negative momentum either leaves the…

EquitiesUS marketsMomentumTrend following
TradingView scripts

This TradingView script adds an on-chart table of common strategy backtest statistics, designed to be copied into an existing strategy. It displays trade count, win rate, starting and ending capital, average winning and losing trade amounts, profit factor,…

BacktestingRisk managementStatistics
TradingView scripts

This indicator calculates Sharpe and Sortino ratios from sampled returns for the chart instrument. Users select a return timeframe and maximum sample length, then choose either a fixed annual benchmark rate or the returns of a comparison instrument. In the…

Risk managementStatisticsBacktesting
TradingView scripts

This strategy standardizes closing price against its recent simple moving average and standard deviation, then smooths the resulting Z-score over short and long windows. A higher short-term smoothed value than the long-term value enables a long entry; the…

StatisticsTechnical indicatorsMean reversionBacktesting
TradingView scripts

This strategy looks for unusually large candle bodies relative to a recent range. It measures the highest open or close and lowest open or close across a configurable lookback, then enters long on a bullish candle or short on a bearish candle when the…

BreakoutTechnical indicatorsRisk managementBacktesting
TradingView scripts

This strategy uses an SSL channel derived from moving averages of highs and lows, alongside a baseline calculated from closing prices. A smoothed SSL line crossing the baseline generates directional signals, with an optional higher-timeframe baseline filter.…

Trend followingTechnical indicatorsRisk managementBreakout
TradingView scripts

This strategy labels conditions as range bound when ADX is below its ceiling, RSI stays inside a middle band, and Bollinger Band width remains below a threshold. When all three filters agree, it enters a long position, presented as a proxy for timing credit…

Technical indicatorsVolatilityRisk managementBacktesting
TradingView scripts

This backtest template uses autocorrelation to detect repeating behavior in closing prices, then applies a linear regression of recent percentage returns to form a forecast component. When the autocorrelation exceeds a fixed threshold, the latest regression…

StatisticsBacktestingTrend followingPosition sizing
TradingView scripts

This long-only Nasdaq-100 strategy combines a monthly 10-period simple moving average with weekly signals. It enters when the weekly close crosses above the monthly average, provided the weekly close is also above its 200-period exponential moving average.…

EquitiesUS marketsTrend followingTechnical indicators
TradingView scripts

This strategy enters long when a 14-period RSI rises above the overbought threshold and short when RSI falls below the oversold threshold. The defaults are 70 and 30, respectively. It also converts percentage-based stop and target settings into price ticks…

Technical indicatorsMean reversionRisk managementPosition sizing
TradingView scripts

This crypto-oriented strategy combines four technical modules: a smoothed RSX-style RSI, a QQE-like RSI with a trailing stop, Keltner channel zones, and WaveTrend crosses. Each module contributes a discrete bullish, neutral, or bearish signal. The script…

CryptoTechnical indicatorsMomentumVolatility
TradingView scripts

This 45-minute BTC/USDT strategy combines Ichimoku-style price signals with an RSI trigger. It can use Heikin Ashi candle data, then compares price with a 26-period Kijun line and the projected cloud boundaries. Long entries require a Kijun crossover with…

CryptoTechnical indicatorsMomentumBacktesting
TradingView scripts

This BTC perpetual scalping strategy combines Williams fractals with three exponential moving averages and RSI. It signals long entries when the shorter EMA is above the two longer averages, a downward fractal appears, price is above the slowest average, and…

CryptoPerpetual futuresTechnical indicatorsMomentum
TradingView scripts

This strategy models a static grid for UNI/USDT spot trading. It divides a fixed price band into geometric or arithmetic levels and buys when a bar closes down through an unfilled level. A position is closed when price crosses the next level upward. The…

CryptoSpot marketsGrid tradingBacktesting
TradingView scripts

This example demonstrates staged exit management for a position using an initial stop and three profit thresholds. Once the first threshold is reached, the stop moves to break-even; at the second, it moves to the first target. At the third, the default…

Risk managementPosition sizingBacktesting
TradingView scripts

This strategy builds a directional setup from a sequence of price-action conditions. During configured London or New York sessions, it flags a sweep when price pierces a prior swing and closes back across it. It then tracks displacement, a fair value gap,…

Technical indicatorsMomentumRisk managementBacktesting
TradingView scripts

This strategy divides a user-defined price interval into levels spaced either geometrically or arithmetically. It buys a fixed cash allocation when the closing price crosses down through a level and closes that level’s position when price crosses up through…

CryptoGrid tradingPosition sizingBacktesting
TradingView scripts

The strategy defines bullish and bearish Failed 2 patterns after a configurable streak of consecutive candles. A bullish setup follows a bearish streak: the signal candle sweeps below the prior candle’s low, stays within its high, and closes back inside the…

Technical indicatorsTrend followingBreakoutRisk management
TradingView scripts

This strategy derives Heikin-Ashi close as the average of the bar’s open, high, low, and close, and derives Heikin-Ashi open recursively from the prior Heikin-Ashi values. It colors bars by whether the derived close is above or at or below the derived open.…

Technical indicatorsTrend followingBacktestingCrypto
TradingView scripts

This flexible strategy calculates Heikin-Ashi candle values internally while running on a standard price chart. Long and short signals depend on configurable runs of bullish or bearish Heikin-Ashi bars, along with counts over a wider lookback window and…

Technical indicatorsTrend followingBacktestingRisk management
TradingView scripts

This script defines bullish and bearish candles with no shadows: the full candle range lies between its open and close, while the close moves in the same direction as the previous close. It also identifies sequences of two such candles in the same direction.…

Technical indicatorsBacktestingMomentum
TradingView scripts

The Caldera Meridian strategy combines several signal families in a close-confirmed framework: moving-average trend state, MACD and RSI momentum, VWAP direction, volatility ranking, a conditional higher-timeframe EMA filter, volume-weighted pressure, auction…

Technical indicatorsTrend followingMomentumRisk management
TradingView scripts

This strategy marks bullish and bearish price zones from confirmed swing pivots, then looks for a candle to close inside the latest zone with directional confirmation. A bullish entry requires a close within the zone associated with a swing low and a rising…

Technical indicatorsRisk managementVolatilityBacktesting
TradingView scripts

This BTCUSDT four-hour strategy combines support and resistance levels with RSI, MACD, and moving-average filters. It defines long setups for bullish retests of a breakout zone and closes above resistance, plus a short setup when price closes below a…

CryptoBreakoutMomentumTechnical indicators