OPEN-SOURCE SCRIPT
Atualizado Rolling VWAP + SMA

Rolling VWAP + SMA (Dynamic Trend Colour)
This indicator plots TradingView’s official time-based Rolling VWAP alongside a Simple Moving Average (SMA) on the price chart.
Both lines dynamically change colour based on their relationship:
🟢 Green when Rolling VWAP is above the SMA (bullish bias)
🔴 Red when Rolling VWAP is below the SMA (bearish bias)
⚪ Gray when they are equal
It provides a clean visual trend filter by combining volume-weighted price positioning (RVWAP) with a traditional moving average, helping traders quickly identify shifts in momentum and directional bias.
This indicator plots TradingView’s official time-based Rolling VWAP alongside a Simple Moving Average (SMA) on the price chart.
Both lines dynamically change colour based on their relationship:
🟢 Green when Rolling VWAP is above the SMA (bullish bias)
🔴 Red when Rolling VWAP is below the SMA (bearish bias)
⚪ Gray when they are equal
It provides a clean visual trend filter by combining volume-weighted price positioning (RVWAP) with a traditional moving average, helping traders quickly identify shifts in momentum and directional bias.
Notas de Lançamento
Rolling VWAP + SMA (Dynamic Trend Colour)This indicator plots TradingView’s official time-based Rolling VWAP alongside a Simple Moving Average (SMA) on the price chart.
Both lines dynamically change colour based on their relationship:
🟢 Green when Rolling VWAP is above the SMA (bullish bias)
🔴 Red when Rolling VWAP is below the SMA (bearish bias)
⚪ Gray when they are equal
It provides a clean visual trend filter by combining volume-weighted price positioning (RVWAP) with a traditional moving average, helping traders quickly identify shifts in momentum and directional bias.
SarK
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
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
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
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.