OPEN-SOURCE SCRIPT

Adaptive Trend Trigger // VX-ATT

333
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.