JohnMuchow

Volume with Configurable Moving Averages

JohnMuchow Mis à jour   
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.
Notes de version:
version 2.0

■ Minor updates to the interface.
Notes de version:
version 3.0

■ Update to how the volume bar colors are determined.
Notes de version:
version 4.0

■ Updated formatting of the volume scale on the right.

LevelUp ▪ Trend Follower Tools: LevelUpTools.net

$30 worth of TradingView Coins: www.tradingview.com/gopro/?share_your_love=johnmuchow

Paypal Donation: is.gd/PayPal_Donation (thank you!)
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?