OPEN-SOURCE SCRIPT
更新済 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:
リリースノート
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) .
リリースノート
Missed one in last update.- Added Bar Time Normalised Trend Volume Accumulation option, this is really designed for price bar charts like Renko.
 
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
JustUncleL
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
JustUncleL
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。