OPEN-SOURCE SCRIPT

Adaptive Trend Trigger // VX-ATT

118
Adaptive Trend Trigger // VX-ATT is a trend-following bias indicator that combines a baseline EMA with adaptive ATR bands and a momentum override layer.

Core idea:

The EMA defines the baseline trend.
ATR bands above/below the EMA mark zones where volatility is high enough to justify a directional push.

A break above the upper band switches the bias to Long.
A break below the lower band switches the bias to Short.

Strong candle bodies (measured vs. an average body size) can temporarily override the current bias when they close far above/below the EMA (momentum override).

What the indicator does:

Colors the background based on the active bias (Long/Short).
Plots EMA + ATR bands.
Marks strong momentum candles with arrows.
Provides alerts when the bias flips from Long → Short or Short → Long.

Typical use cases:

Trend filter for discretionary entries
Bias layer for strategies or additional indicators
Only trade in the direction of the active bias (e.g., favor Long setups in Long bias, avoid counter-trend scalps)

This is a simplified, free component extracted from my VX toolset (VX-ATT), designed as a clean, plug-and-play trend/bias layer you can combine with your own setups.

Pernyataan Penyangkalan

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.