OPEN-SOURCE SCRIPT
Diupdate Volume with Configurable Moving Averages

Volume with Configurable Moving Averages displays volume based on the current timeframe. For example, on a daily chart the volume shown is for the day. On a weekly chart, the volume is cumulative for the week.
There is also an option to configure the volume moving average lengths. The default for a daily chart is to calculate the 50-day moving average. On a weekly chart, the default is the 10-week moving average.
Features:
■ Configure moving average lengths for various chart timeframes.
■ Set width of volume bars.
■ Option to set bar color based on the previous close.
Learning Pine Script / Creating Your Own Indicators
One goal of this indicator is help others who are interested to learn Pine Script. The code is open source and I've included an abundance of comments. In future updates, I'll show additional Pine Script features and scripting concepts.
There is also an option to configure the volume moving average lengths. The default for a daily chart is to calculate the 50-day moving average. On a weekly chart, the default is the 10-week moving average.
Features:
■ Configure moving average lengths for various chart timeframes.
■ Set width of volume bars.
■ Option to set bar color based on the previous close.
Learning Pine Script / Creating Your Own Indicators
One goal of this indicator is help others who are interested to learn Pine Script. The code is open source and I've included an abundance of comments. In future updates, I'll show additional Pine Script features and scripting concepts.
Catatan Rilis
version 2.0 ■ Minor updates to the interface.
Catatan Rilis
version 3.0■ Update to how the volume bar colors are determined.
Catatan Rilis
version 4.0■ Updated formatting of the volume scale on the right.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Access our premium tools: LevelUpTools.net
Join traders in over 40 countries and LevelUp!
Join traders in over 40 countries and LevelUp!
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Access our premium tools: LevelUpTools.net
Join traders in over 40 countries and LevelUp!
Join traders in over 40 countries and LevelUp!
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.