Trigger Terminal
StrategiesLeaderboardSign in

Pine strategies & indicators

The Trigger Terminal script library: 98 strategies and indicators that run on exchange candles — back-test them on any pair, compare them, forward-test them on paper, or run them as bots.

Baseline

Ehlers Instantaneous Trendline @DaviddTech

Ehlers Instantaneous Trendline (E.I.T): John Ehlers' near-zero-lag trend line with an alpha smoothing factor and a trigger line. Long when t

Indicator · 1 user
Ehlers Two Pole Super Smoother @DaviddTech

Ehlers Two-Pole Super Smoother: John Ehlers' two-pole filter that removes market noise with much less lag than an EMA of the same period. Lo

Indicator
G-Channel Trend Detection

G-Channel trend detection (full credit to AlexGrover): an efficient upper / lower channel of the price extremities with a filtered average i

Indicator
Hull Moving Average

Hull Moving Average (HMA): Alan Hull's weighted moving average that is both smooth and fast. The line colours with its direction; long when

Indicator
Jurik Moving Average @DaviddTech

Jurik Moving Average (JMA): a very smooth, low-lag moving average with adjustable phase and power. The line colours green when rising and re

Indicator
Magic TC Pullback @DaviddTech

Magic TC Pullback: two T3-style smoothed curves, a fast and a slow one. When the fast curve is above the slow one the trend is up and pullba

Indicator
Regime-Adaptive Robust Moving Average

A robust average that speeds up in trends, resists spikes, and marks real deviations.

Indicator
T3 @DaviddTech

Part of the 100 scripts library built for Botify the Backtester using the Boilerplate from DaviddTech.

Indicator
TREND AKKAM

Trend AKKAM: an ATR-based trailing trend line (or a fixed price-step mode) that flips when price closes through it. Long while price is abov

Indicator
Triple T3 Signal @DaviddTech

Three T3 moving averages (Tillson's triple-smoothed EMA) of different lengths stacked together. When the lines are aligned and rising the tr

Indicator
Turtle Trade Channels Indicator @DaviddTech

Turtle Trade Channels: the Donchian breakout channels of the original Turtle system — an entry channel (highest high / lowest low) and a sho

Indicator

Bonds & Rates

End-of-Month Treasury Returns (TLT)

This strategy holds a long-term US Treasury bond fund (TLT) for the last few trading days of each month and sits in cash the rest of the tim

Strategy

Commodities

Pre-Holiday Effect in Commodities (UGA)

Buys a gasoline fund (UGA) at the close five trading days before each US stock market holiday, such as Thanksgiving, Independence Day or Chr

Strategy · 2 users

Confirmation

Coppock Curve @DaviddTech

Coppock Curve: a weighted moving average of the sum of a long and a short rate of change, originally a long-term momentum timer. Long when t

Indicator
Coral Trend Indicator @DaviddTech

Coral Trend Indicator: a cascade of exponential smoothings (in the style of LazyBear's version) that gives a smooth trend line with little l

Indicator
Dominant Cycle Index Oscillator

Finds the dominant cycle with a frequency scan, and times events only when that cycle is reliable.

Indicator
Dorsey inertia - DI @DaviddTech

Dorsey Inertia (DI): Donald Dorsey's Relative Volatility Index (1993) smoothed with a linear regression to show the trend's inertia. Long wh

Indicator
Dorsey inertia - DI @DaviddTech

Dorsey Inertia (DI): Donald Dorsey's Relative Volatility Index (1993) smoothed with a linear regression to show the trend's inertia. Long wh

Indicator
Ergodic Oscillator Refactored

Ergodic Oscillator (William Blau's double-smoothed momentum, the basis of the TSI) with a signal line and overbought / oversold levels. Long

Indicator
Grucha Percentage Index (GPI) with SMA

Grucha Percentage Index (GPI): the share of rising candles over the last N bars, shown as a percentage around zero, with an SMA as a signal

Indicator
HACOLT

HACOLT — Heikin-Ashi Candlestick Oscillator Long Term (Sylvain Vervoort, port by LazyBear): combines Heikin-Ashi candles with TEMA / EMA smo

Indicator
JpOscillator

JP Oscillator: a momentum oscillator built from a weighted price buffer and smoothed with a choice of moving average, plus a moving average

Indicator
Kneedle Inflection Engine

A pane-based momentum-inflection oscillator. It normalizes momentum into one 0-100 curve, finds the knees where it bends sharply, then confi

Indicator
KUSKUS Starlight + EMA @DaviddTech

KUSKUS Starlight + EMA: finds where price sits inside its recent high-low range, smooths it and runs it through a Fisher transform to get a

Indicator
KUSKUS Starlight + EMA @DaviddTech

KUSKUS Starlight + EMA: finds where price sits inside its recent high-low range, smooths it and runs it through a Fisher transform to get a

Indicator
Linear Regression Slope Histogram - Heartbeat Logic @DaviddTech

Linear Regression Slope histogram (original by SparkyFlary, formula by alexgrover): the slope of a rolling linear regression line, with an E

Indicator
Market Cycle Synchronizer

A lower-pane cycle oscillator. It estimates the market's rhythm, shows where price sits in its cycle, checks whether a clean cycle is presen

Indicator
Metro Advanced with Heartbeat

Metro Advanced: a fast and a slow StepRSI line on top of RSX (Jurik) or Cuttler's RSI. Long when the fast step line is above the slow one, s

Indicator
PID Trend Score

A pane-based trend & directional-context indicator. A control-system score reads pressure, persistence, and short-term change, then filters

Indicator
Puddles Top & Bottom Finder

Puddles Top & Bottom Finder: integrates the true range over several windows with Simpson's rule to measure how unusual the current move is,

Indicator
Smith-Predictor State Estimator

A pane-based statistical momentum & inertia oscillator. It estimates directional state with a predictor / correction engine, normalizes it t

Indicator
Smoothed Momentum - @Daviddtech

Smoothed momentum (ESAM): momentum of price passed through John Ehlers' Super Smoother filter (2 or 3 poles) to remove noise without much la

Indicator
Top Bottom Indicator - TBI

Top Bottom Indicator (TBI, original idea by ceyhun): measures how far price is from its recent lowest low and highest high to spot exhaustio

Indicator
Trend Direction Force Index TDFI @DaviddTech

Trend Direction Force Index (TDFI): compares a moving average with a smoothed version of itself and normalises the difference to show trend

Indicator
Williams Percent Range - WPR

Williams %R momentum oscillator (-100 to 0) with an EMA of %R as a signal line. Long when %R is above its average (optionally only when leav

Indicator
XMA Coloured Histogram @DaviddTech

XMA coloured histogram: the change between the current and previous EMA, shown as a histogram that only turns coloured when the move is bigg

Indicator
Zero lag MACD @DaviddTech

Zero-lag MACD: MACD built from zero-lag moving averages so crosses come earlier than the classic MACD, with a choice of MA types for the osc

Indicator

Crypto

Adaptive Bandwidth Kalman Strategy

A regime-aware, self-adapting Kalman trend & event engine — rebuilt from the first version into a clean, publication-ready release.

Strategy · 1 user
Bitcoin Overnight Sessions (BITO)

It holds Bitcoin only overnight, on three nights a week: Friday to Monday, Monday to Tuesday and Tuesday to Wednesday. US stock market hours

Strategy
Computing Power Factor (BTC + ETH + LTC)

This strategy trades Bitcoin, Ethereum and Litecoin, and only ever buys. It never shorts and never uses leverage. It only puts a small slice

Strategy
Crypto Network Size Factor (BTC + ETH + LTC)

Once a month this strategy looks at Bitcoin, Ethereum and Litecoin and asks how fast each coin's network grew. It measures that with hash ra

Strategy
TEMA Trend Breakout on DOGE (12h) (😎 VLAD)

Trades the Dogecoin perpetual future (DOGEUSDT) on Binance on 12-hour bars, long only. It buys when price makes a new 20-bar closing high wh

Strategy
Top 5 Altcoins With a Bitcoin Short Hedge

This is a buy-and-hold altcoin portfolio with a Bitcoin short bolted on as insurance. On the first day of each year it buys the five largest

Strategy

Forex

FX Volatility Effect (8 Dollar FX Pairs)

This strategy trades eight currencies against the US dollar: the Australian, Canadian and New Zealand dollars, the euro, the British pound,

Strategy
Inflation and the US Dollar (UUP)

This one trades the US dollar fund UUP, long or short, and only looks at the market once a month. On the first trading day of each month it

Strategy
Jump-Only FX Momentum (5 EM Currencies)

This strategy trades five emerging-market currencies against the US dollar: the Czech koruna, the Hungarian forint, the Mexican peso, the Po

Strategy

Gold & Metals

Cultural Holidays and the Gold Drift (GLD)

This strategy trades the gold ETF (GLD) around four big gift-giving holidays: Christmas Eve, Lunar New Year, Diwali and Eid al-Fitr. It buys

Strategy
Gold/Silver Kalman Pair Trade (GLD + SLV)

This strategy trades gold against silver using two funds, GLD for gold and SLV for silver. It is always either flat or holding one fund long

Strategy

Multi-Asset

Bitcoin ETF Overlay (SPY + GLD + BITO)

This is a simple stock and gold portfolio with a small Bitcoin add-on. Most of the time it holds 30% in the S&P 500 fund (SPY) and 70% in th

Strategy
Bitcoin Signal for Growth Stocks (QQQ + SHY)

This strategy always has all of its money in one of two funds: the Nasdaq-100 fund (QQQ) or a fund of 1 to 3 year US government bonds (SHY).

Strategy
Bonds Market Timing (IEF/SHY/HYG/LQD/TIP)

This strategy splits money across five US bond funds: 7-10 year Treasuries (IEF), 1-3 year Treasuries (SHY), high-yield company bonds (HYG),

Strategy
ChatGPT Trend Allocation (SPY + IEF + DBC)

This strategy splits money across three funds: US stocks (SPY), 7-10 year US Treasury bonds (IEF) and a broad commodities fund (DBC). Every

Strategy
Commodities Timing on Fed Policy (5 ETFs)

This is a monthly portfolio of five funds: US stocks (SPY), stocks of other developed countries (EFA), 7-10 year US Treasuries (IEF), invest

Strategy
Crisis Hedge Seasonality (6 Safe-Haven ETFs)

This strategy rotates between six funds that people tend to buy when markets panic: the Swiss franc (FXF), the Japanese yen (FXY), the US do

Strategy
Flexible Asset Allocation (7 ETFs + Cash)

This is a monthly rotation across seven funds that each stand for a whole asset class: US stocks (VTI), developed stocks outside the US (VEA

Strategy
Lethargic Asset Allocation (QQQ/IWD/GLD/IEF)

This is a lazy four-fund portfolio. It always holds 25% each in IWD (US large value stocks), GLD (gold) and IEF (7 to 10 year US Treasuries)

Strategy
Paired Switching: Stocks vs Bonds (SPY + AGG)

This strategy holds one of two funds at a time: SPY, a US stock market fund, or AGG, a US bond fund. Four times a year, at the start of Marc

Strategy
QQQ/Bitcoin Breakout Rotation (QQQ + BTC)

This strategy keeps all its money in one of three places: the Nasdaq-100 fund (QQQ), Bitcoin, or cash. Every US trading day, just before the

Strategy
Regime-Aware Cap Rotation (SPY+MDY+IJR+SHY)

This strategy holds one US fund at a time and only ever buys. Three of the choices are stock funds split by company size: large companies (S

Strategy
Trading VIX ETFs (SVXY + VXX + VIXM)

This strategy trades volatility funds: funds that follow VIX futures, the market's fear gauge. Two of them gain when fear falls (SVXY and ZI

Strategy

Stocks & Indices

Commodity Dual Momentum (DBA/DBB/DBE/DBP)

This strategy rotates between four commodity funds: farm goods (DBA), industrial metals (DBB), energy (DBE) and precious metals (DBP). It on

Strategy
Commodity Index Bond Timing (6 Countries)

This strategy trades the 10-year government bonds of six countries: the US, the UK, Germany, Japan, Canada and Australia. Once a month it lo

Strategy
Country Equity Momentum (24 Country ETFs)

This strategy picks between the stock markets of 24 countries, using one fund per country: 23 iShares country funds plus SPY for the US. It

Strategy
First Half-Hour Reversal (SPY+QQQ+IWM+DIA)

This strategy trades four big US stock index funds: SPY (S&P 500), QQQ (Nasdaq 100), IWM (Russell 2000) and DIA (Dow Jones). Every morning i

Strategy
Flight to Quality in Bonds (6 Countries)

This strategy trades government bonds of six countries: Australia, Canada, Germany, Japan, the UK and the US. Every day it looks at how jump

Strategy
Foreign Central Bank Drift (EWJ + EWL + EWU)

This strategy trades three US-listed country stock funds, each tied to its own central bank: Japan (EWJ, Bank of Japan), Switzerland (EWL, S

Strategy
Gap-and-Go on SMCI (2h) (😎 VLAD)

Trades Super Micro Computer (SMCI) stock on 2-hour bars, long only. It buys when a bar opens more than 0.3% above the previous close and the

Strategy
Growth Gap Factor in Bonds (5 Countries)

This strategy trades the 10-year government bonds of five countries: Australia, Canada, Germany, the UK and the US. Once a year, at the end

Strategy
Low-Volatility Momentum on APP (1d) (😎 VLAD)

Trades AppLovin (APP) stock on daily bars, long only. It buys when the stock is above where it was 50 trading days ago and its recent volati

Strategy
ML Volatility Targeting of Equity Indices (Quantpedia #799)

increase exposure when calmer markets are expected and reduce it when volatility is forecast to rise.

Strategy
Niche ETF Reversal (DBMF + WTMF + MNA + PBP)

This strategy trades four small, specialised funds: two managed-futures funds (DBMF and WTMF), a merger-arbitrage fund (MNA) and a covered-c

Strategy
Outside-Bar Reversal on IGV (2h) (😎 VLAD)

Trades IGV, the iShares software-sector ETF, on 2-hour bars, long and short. It looks for an outside bar, one that trades above the previous

Strategy
Overnight Anomaly in US Stocks (SPY)

This strategy buys the S&P 500 ETF (SPY) a few minutes before the stock market closes and sells it at the next morning's open. It holds the

Strategy
Range-Position Breakout on IBM (3h) (😎 VLAD)

Trades IBM stock on 3-hour bars, long only. It buys when the close sits in the top 10% of the last 50 bars' high-low range, right up against

Strategy
SMA Trend + Big Bar on ARKK (3h) (😎 VLAD)

Trades the ARK Innovation ETF (ARKK) on 3-hour bars, long and short. When the 20-bar average is above the 100-bar average and a big green ba

Strategy
Squeeze Breakout on NET (2h) (😎 VLAD)

Trades Cloudflare (NET) stock on 2-hour bars, long and short. It waits until prices have gone quiet, then buys a close above the 50-bar high

Strategy
Std-Dev Thrust on LG Chem (3h) (😎 VLAD)

Trades LG Chem shares on the Korea Exchange (KRX:051910) on 3-hour bars, long and short. It buys when one bar's close jumps above the previo

Strategy
Trend + Quiet Pullback on SNPS (2h) (😎 VLAD)

Trades Synopsys (SNPS) stock on 2-hour bars, long and short. In an uptrend it buys a quiet bar that has dipped below its 50-bar average; in

Strategy
Turn of the Month in Equity Indexes (SPY)

This strategy trades the S&P 500 ETF (SPY) once a month. It buys 5 minutes before the close on the 5th-to-last trading day of the month and

Strategy
Unemployment Gap Bond Factor (5 Countries)

This strategy trades 10-year government bonds of five countries against each other: Australia, Canada, Germany, the UK and the US. Once a mo

Strategy
Vortex Trend on DELL (2h) (😎 VLAD)

Trades Dell Technologies (DELL) stock on 2-hour bars, long only. It buys when the Vortex indicator's up line crosses above its down line, a

Strategy
Yield Change Reversal in Bonds (5 Countries)

This strategy trades the 10-year government bonds of five countries at once: Australia, Canada, Germany, the UK and the US. It holds some of

Strategy
Z-Score Thrust on Tata Steel (2h) (😎 VLAD)

Trades Tata Steel shares on India's NSE on 2-hour bars, long only. It buys when the price starts rising much faster than it normally does, m

Strategy

Volatility

Shorting VIX on Fed Meeting Days (VIXY)

Eight times a year the US Federal Reserve (the FOMC committee) announces its interest-rate decision. This strategy bets that market fear fal

Strategy

Volume/Volatility

ATR Bands @DaviddTech

ATR Bands (original by AlexanderTeaH): upper and lower bands placed a multiple of the Average True Range above and below price. Use them for

Indicator
Garman Klass Volatility @DaviddTech

Garman-Klass volatility: an open-high-low-close volatility estimator that is more efficient than close-to-close volatility, with a moving av

Indicator
HawkEye Volume @DaviddTech

HawkEye Volume (after LazyBear, code by aamonkey): colours each volume bar green, red or grey depending on where the bar closed in its range

Indicator
Jurik Volatility Bands

Jurik Volatility Bands: adaptive upper and lower bands built on Jurik's volatility measure around a smooth centre line. Price pushing throug

Indicator
Markov-EWMA Volatility Governor

An adaptive overlay moving average governed by a volatility-regime model. It reads whether conditions are stable, neutral, or explosive, ada

Indicator
Stiffness Indicator @DaviddTech

Stiffness Indicator (Markos Katsanos): the share of the last N closes that stayed above a moving average minus a fraction of the standard de

Indicator
TTM Squeeze @DaviddTech

TTM Squeeze (original credits Beardy_Fred): Bollinger Bands inside Keltner Channels mark a volatility squeeze (dots), and a momentum histogr

Indicator
TTM Squeeze @DaviddTech

TTM Squeeze (original credits Beardy_Fred): Bollinger Bands inside Keltner Channels mark a volatility squeeze (dots), and a momentum histogr

Indicator
Volatility Quality - Zero Line Averages @DaviddTech

Volatility Quality — zero-line averages (Thomas Stridsman's VQ): weights each bar's direction by how big its range is compared with the true

Indicator
Volume Oscillator

Volume Oscillator: the difference between a short and a long moving average of volume, in percent. Positive means volume is expanding, negat

Indicator

Other

D2-Lite Correlation Dimension

Estimates the effective dimension of recent returns - structure versus noise - as a signed trend/chop score.

Indicator
Lyapunov Exponent Estimator

Phase-space regime detection - chaos versus stability - with confirmed breakout and reversion events.

Indicator
MACD oversold + overbrought

MACD with overbought / oversold zones: the classic MACD and signal line with Bollinger Bands drawn on the MACD itself, so extreme readings s

Indicator
Multiscale Wavelet Entropy Score

A structure-aware directional indicator, rebuilt from the first version into a clean, publication-ready release. It asks whether the market

Indicator
Ranked on live candles, not back-tests
See which strategies hold up in their paper forward tests.
Open the leaderboard