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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

8,851 documents

TradingView scripts

This long-only breakout strategy enters when price exceeds a prior high over a configurable lookback, or a prior rolling all-time high. The reference excludes the current bar. Entries may require a closing-price break and can be filtered by an uptrend,…

BreakoutTrend followingRisk managementPosition sizing
TradingView scripts

This strategy seeks to re-enter established trends after a countertrend pullback. Trend direction requires a fast EMA to be above or below a slower EMA, with the slower average also rising or falling over a lookback. A short-period RSI registers a dip in an…

Trend followingTechnical indicatorsPosition sizingRisk management
TradingView scripts

This short-term forex strategy combines Williams-style fractals with three exponential moving averages. It is intended for charts of one to five minutes, with a recommendation to revisit parameter settings weekly. The EMA lengths and fractal period are…

ForexTechnical indicatorsTrend followingRisk management
TradingView scripts

The script calculates Williams Accumulation/Distribution (WAD), smooths it with a simple moving average, and assigns a positive or negative position according to whether WAD is above or below that average. It then submits long or short entries based on that…

Technical indicatorsTrend followingBacktesting
TradingView scripts

This short strategy uses two exponential moving averages of closing price to generate directional entries. It enters long when the 26-period EMA crosses the 12-period EMA upward, and enters short when the 26-period EMA crosses the 12-period EMA downward.…

Technical indicatorsTrend followingBacktesting
TradingView scripts

This long-only strategy enters when price makes a new high relative to either a rolling all-time-high proxy or a 52-week high calculated from weekly data. Each breakout condition can be enabled independently, and the strategy enters only when it has no open…

BreakoutTrend followingVolatilityTechnical indicators
TradingView scripts

This strategy generates directional signals when a configurable short moving average crosses a longer one. It supports simple, exponential, and smoothed moving averages. The crossover is filtered by several conditions: Bollinger Band width relative to ATR,…

Trend followingMomentumVolatilityTechnical indicators
TradingView scripts

This strategy detects swing highs and lows using a configurable fractal period. With the default period, a fractal is identified by comparing a bar's high or low with the surrounding window. It stores the three most recent highs and lows separately, then…

BreakoutTrend followingTechnical indicatorsBacktesting
TradingView scripts

This long-only silver strategy combines a slow moving-average trend exit with optional macro stress filters and a rapid-decline safeguard. It enters when the silver trend is not weak, enabled macro indicators have remained calm for the required bars, and any…

CommoditiesTrend followingRisk managementBacktesting
TradingView scripts

This strategy uses a configurable moving average as its trend reference and places upper and lower bands at a multiple of ATR. A trend is confirmed after price remains beyond a band for the required consecutive bars, with confirmation based on either closes…

Trend followingBreakoutTechnical indicatorsVolatility
TradingView scripts

This strategy combines a moving-average trend filter with a one-bar price breakout. It signals long when the faster EMA is above the slower EMA and the close exceeds the prior bar's high; it signals short when the averages and close show the opposite…

BreakoutTrend followingTechnical indicatorsRisk management
TradingView scripts

This Nifty-oriented strategy takes long or short positions when price, VWAP, and a short-term EMA align with RSI momentum. Long entries require price above both reference lines and RSI above its bullish threshold; short entries require the inverse alignment…

EquitiesOptionsTrend followingMomentum
TradingView scripts

This strategy trades crosses of the chart’s 200-period EMA in either direction, subject to an optional filter based on the previous completed daily candle: longs are allowed after an up day and shorts after a down day. It uses a fixed six-contract position…

Technical indicatorsTrend followingPosition sizingRisk management
TradingView scripts

This long-only trend-following method places a stop entry at the latest qualifying Williams fractal high. A fractal is considered valid when it lies above the Alligator teeth line, calculated from a smoothed price average. The strategy also calculates the…

Trend followingBreakoutVolatilityTechnical indicators
TradingView scripts

This strategy generates short signals when a configurable fast moving average crosses below a slow moving average. Both averages may use EMA, SMA, or WMA calculations. A slope filter can require each average to be falling beyond a set threshold, and an…

OptionsTechnical indicatorsTrend followingRisk management
TradingView scripts

This system combines two intraday approaches using UTC-defined sessions. During the London and New York windows, it looks for trend trades using fast and slow exponential moving averages, with optional higher-timeframe agreement. Candidate signals accumulate…

Technical indicatorsTrend followingMean reversionRisk management
TradingView scripts

The strategy uses SPY’s 200-day simple moving average as a regime filter: the code opens a long position when SPY closes above a threshold 4% over the average and exits below a threshold 3% under it. The accompanying discussion applies these signals to…

EquitiesTrend followingTechnical indicatorsRisk management
TradingView scripts

The ATR Rope indicator filters small price fluctuations by moving a central line only when price travels beyond a threshold based on average true range. Its upper and lower channel boundaries show that threshold. The rope changes color with its direction,…

Technical indicatorsVolatilityTrend followingBreakout
TradingView scripts

This indicator fits linear trends to logarithmic prices across a set of candidate lookback periods, then selects the period with the highest Pearson correlation. It draws the fitted midline and upper and lower channel boundaries, with channel width based on…

Technical indicatorsTrend followingStatistics
TradingView scripts

This strategy separates directional filtering from entry timing. A 38- and 62-period EMA comparison sets the trend direction, while current-timeframe and automatically selected higher-timeframe stochastic measures must confirm momentum around the 50 midline…

Trend followingMomentumTechnical indicatorsRisk management
TradingView scripts

This strategy combines three chart signals: the relationship between 50- and 200-period exponential moving averages, RSI(14) crossings of 30 or 70, and price crossing back through a 20-period Bollinger Band. A buy or sell signal occurs when at least two…

Technical indicatorsTrend followingMean reversionMomentum
TradingView scripts

This indicator constructs Renko-style bricks over ordinary chart candles to emphasize price movement while filtering out smaller fluctuations. Brick size can be fixed, based on average true range, scaled fractions of that measure, or set as a percentage of…

Technical indicatorsTrend followingVolatility
TradingView scripts

This strategy looks for pullbacks to a 44-period exponential moving average while price remains on the trend side of a 200-period average. A long signal requires the daily and four-hour trends to be bullish; a short signal requires both to be bearish. In…

Technical indicatorsTrend followingRisk managementBacktesting