Free Multi-Timeframe Zero Lag Trend Signals

A responsive moving average with volatility bands and a trend table for up to five configurable timeframes.

Free, open-source Pine Script by AlgoAlpha. TradingView account and plan limits apply.

TradingView chart preview of Zero Lag Trend Signals (MTF) by AlgoAlpha.
Published AlgoAlpha chart preview. The layout depends on your chart and inputs.

Inputs to start with

Length · 70 by default
Sets the lookback for the zero-lag EMA. Compare the same interval when testing a shorter or longer length.
Band Multiplier · 1.2 by default
Changes the distance of the volatility bands from the average. Wider bands can filter small moves and delay a flip.
Time frame 1–5
Set the table to intervals you can interpret. The chart interval and one higher interval are enough for a first comparison.

Try it on a chart

On a 15-minute chart, monitor the 1-hour table row. For each 15-minute flip, record the higher-timeframe state as it looked then. At the hour close, check whether that state held. Keep the two timestamps in your notes so an unfinished higher-timeframe bar cannot masquerade as earlier confirmation.

What to check. Zero Lag describes the moving-average method. Higher-timeframe readings can change before their bars close.