OPEN-SOURCE SCRIPT
VWAP Filtered with Trend

This indicator combines the classic **VWAP** with a trend EMA filtered by the TDFI oscillator to confirm market direction.
- VWAP is displayed in white as the fair value reference.
- The trend EMA dynamically changes color according to market condition: green (uptrend), red (downtrend), orange (range).
- Candles highlight in blue when a bullish VWAP crossover is confirmed, and in fuchsia when a bearish crossover is confirmed.
- Includes adjustable thresholds and a cooldown filter to reduce noise and improve reliability.
This approach allows traders to identify not only the relative position to VWAP but also the strength and clarity of the trend, enhancing decision-making across all timeframes.
- VWAP is displayed in white as the fair value reference.
- The trend EMA dynamically changes color according to market condition: green (uptrend), red (downtrend), orange (range).
- Candles highlight in blue when a bullish VWAP crossover is confirmed, and in fuchsia when a bearish crossover is confirmed.
- Includes adjustable thresholds and a cooldown filter to reduce noise and improve reliability.
This approach allows traders to identify not only the relative position to VWAP but also the strength and clarity of the trend, enhancing decision-making across all timeframes.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
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.