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

TradingView scripts

This indicator displays price updates as they arrive on the current real-time bar. In tick up/down mode, it places a dot at each update’s sequence number; in tick progression modes, it marks updates on the candle with symbols that shift horizontally. Colors…

Technical indicatorsMarket microstructureHigh-frequency trading
TradingView scripts

This indicator applies a nearest-neighbor classification approach to market features, using a Lorentzian-style distance measure. Rather than summing raw feature differences as in Euclidean distance, its distance function sums logarithms of one plus the…

Machine learningStatisticsTechnical indicatorsBacktesting
TradingView scripts

This strategy uses a fast and slow exponential moving average crossover to generate directional entries, with volume or short-term price direction as additional confirmation. A trend filter accepts conditions when ADX exceeds a threshold or the positive and…

Technical indicatorsTrend followingFuturesRisk management
TradingView scripts

This Ethereum strategy combines Aroon crossover signals with an Absolute Strength Histogram concept. It uses separate lookback settings for long and short signals: a long begins when the long-side Aroon lines cross upward, subject to a lower-line threshold,…

CryptoTechnical indicatorsTrend followingBacktesting
TradingView scripts

This TradingView indicator builds separate bullish and bearish volume profiles across price swings identified by a Zigzag. It assigns volume from bars in each swing to price levels, then plots the profiles in configurable layouts: centered, on the same side,…

Technical indicatorsMarket microstructureStatistics
TradingView scripts

This strategy enters when a candle closes beyond a Bollinger Band, using an optional long-term exponential moving average to align trades with trend. A volume filter can require volume above its moving average, while a time window, optional weekend closure,…

BreakoutTechnical indicatorsVolatilityPosition sizing
TradingView scripts

This Bitcoin strategy seeks long positions when several measures support an advancing trend. It scores a bullish stack of smoothed moving averages, their separation and slopes, path efficiency, momentum persistence, volatility conditions, breakout strength,…

CryptoTrend followingMomentumBreakout
TradingView scripts

This reversal strategy combines recent pivot highs and lows, average true range, volume, and candle direction. It treats price as exhausted when its distance from a stored pivot exceeds an ATR-based threshold, then requires price to be near a pivot and…

Mean reversionVolatilityTechnical indicatorsPosition sizing
TradingView scripts

This strategy compares a charted asset with a user-selected ticker to estimate a cointegrating relationship. It fits linear regressions across several rolling lookback lengths, tests changes in the residual series for stationarity with a Dickey–Fuller…

Pairs tradingMean reversionStatisticsBacktesting
TradingView scripts

This intraday futures strategy enters when a closing price breaks above the prior Donchian upper band or below the prior lower band. The bands use the highest high and lowest low over a configurable lookback, shifted back one bar to avoid using the current…

FuturesBreakoutTrend followingTechnical indicators
TradingView scripts

This strategy calculates Heikin-Ashi open and close values from ordinary candle data, then treats their relationship as a directional state. A change from a non-green Heikin-Ashi bar to a green one triggers a long entry; a change from green to red triggers a…

Technical indicatorsTrend followingBacktesting
TradingView scripts

This strategy uses the previous week’s high and low as reference levels, then compares each current bar’s high and low with those boundaries. In one signal mode, a bar fully below the prior weekly low sets a short state, while a bar fully above the prior…

Technical indicatorsBreakoutBacktestingFutures
TradingView scripts

This document explains how the script estimates Ralph Vince’s Optimal F from a strategy’s closed trades. It records profit or loss per contract, scales each result by the largest loss, then evaluates a grid of sizing fractions from zero to one. For each…

Position sizingRisk managementBacktestingStatistics
TradingView scripts

This indicator scans multilevel zigzag pivots for reversal chart patterns and draws detected formations on the price chart. Its selectable pattern families include double taps and triple taps, with cup-and-handle and head-and-shoulders patterns also…

Technical indicatorsTrend followingRisk management
TradingView scripts

This indicator combines short-volume data from selectable sources with total volume to calculate short-volume ratios. It compares current short volume, total volume, and their ratio with moving averages, and draws labeled ranges around selected activity. The…

EquitiesUS marketsStatisticsTechnical indicators
TradingView scripts

This indicator builds a chart-side tape showing the time, price, and volume associated with realtime feed updates. It estimates volume delta by assigning each update's volume a positive or negative sign according to price movement since the previous update;…

Market microstructureTechnical indicatorsExecution
TradingView scripts

This script combines simple and exponential moving averages with periods including 50, 100, 236, 500, 764, and 1000. It plots configurable averages and colors selected pairs to show their relative ordering. The names refer to the chosen lookback periods; the…

Technical indicatorsTrend followingBacktesting
TradingView scripts

This overlay combines a logarithmic regression trend line with an oscillator drawn directly across the price chart. It fits a straight regression to log-transformed closing prices over a lookback period, converts the endpoints back to price values, and…

Technical indicatorsMomentumStatistics
TradingView scripts

This indicator builds a volume profile over a configurable historical window by dividing the observed price range into rows and assigning each bar’s volume to those rows. The user can choose among allocation approaches, including uniform distribution across…

Technical indicatorsMarket microstructureStatistics
TradingView scripts

This example uses a random binary result to choose a long or short trade on a selected weekday. It sizes entries inversely to average true range and places a take-profit and stop level one ATR from the trade’s reference price, creating a nominal one-to-one…

ForexBacktestingRisk managementPosition sizing
TradingView scripts

This indicator estimates buy and sell volume within each chart bar by requesting lower-timeframe data, then divides the bar’s price range into rows. Each lower-timeframe candle’s volume is classified by whether its close rose or fell from its prior close and…

Technical indicatorsMarket microstructureStatistics
TradingView scripts

This FX-oriented strategy combines weekly, daily, and 4-hour price levels with a 50-period simple moving average, short-term break-of-structure conditions, and a fair-value-gap flag. Long signals require price above the moving average, bullish positioning…

ForexTechnical indicatorsRisk managementPosition sizing
TradingView scripts

This strategy defines a daily premarket range from 9:00 to 9:30 Eastern time for SPY or QQQ, then waits for the first break above or below that range. A break above sets a long bias, while a break below sets a short bias. Rather than entering immediately, it…

EquitiesUS marketsBreakoutTechnical indicators
TradingView scripts

This entry-only setup tracks the high and low formed during the noon-to-1 p.m. New York lunch session, then watches for the first sweep during the 1–4 p.m. window on a 5-minute NQ chart. A move above the lunch high that closes back below it signals a short;…

FuturesUS marketsBreakoutMarket microstructure