OPEN-SOURCE SCRIPT
Atualizado Trend Volume Accumulation R1 by JustUncleL

This simple indicator shows the Accumulated Volume within the current uptrend or downtrend. The uptrend/downtrend is detected by a change in direction of the candles which works very well with Heikin Ashi and Renko charts. Alternatively you can use a Moving average direction to indicate trend direction, which should work on any candle type.
You can select between 11 different types of moving average:
Here is a sample chart using EMA length 6 for trend Direction:

You can select between 11 different types of moving average:
- SMA = Simple Moving Average.
- EMA = Exponential Moving Average.
- WMA = Weighted Moving Average
- VWMA = Volume Weighted Moving Average
- SMMA = Smoothed Simple Moving Average.
- DEMA = Double Exponential Moving Average
- TEMA = Triple Exponential Moving Average.
- HullMA = Hull Moving Average
- SSMA = Ehlers Super Smoother Moving average
- ZEMA = Near Zero Lag Exponential Moving Average.
- TMA = Triangular (smoothed) Simple Moving Average.
Here is a sample chart using EMA length 6 for trend Direction:
Notas de Lançamento
Revision R2:- Added Option to show Running Averaged Volume within the Trend. The average using Bar count since start of trend (Bar Avg) or Time since start of Trend (Time Avg).
- Changed Short name to "TVA" - Trend Volume Accumulation
NOTE: The Running Averaged Volume option "Time Avg" is designed to be used with Renko charts and only works well short brick sizes (<=10pips) + time frames (<=15min) .
Notas de Lançamento
Missed one in last update.- Added Bar Time Normalised Trend Volume Accumulation option, this is really designed for price bar charts like Renko.
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.
JustUncleL
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.
JustUncleL
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.