OPEN-SOURCE SCRIPT

Step-MA Baseline (with optional smoother)

185
Trackline – Trend-Following Baseline with Confirmation Zones
A clean trend-following baseline that adapts to price action while filtering noise. Built on a smoothed moving average (EMA or HMA), Trackline highlights directional bias, with optional zone coloring to indicate breakout alignment or pullback opportunities. Use it to identify trend direction, validate entries, or act as dynamic support/resistance in trending environments.

Features:
• Customizable length & smoothing method (EMA, HMA, or WMA)
• Optional signal coloring (bullish/bearish/neutral)
• Works on all timeframes and assets
• Pairs well with momentum or liquidity tools

snapshot

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.