JohnMuchow

Volume with Configurable Moving Averages

JohnMuchow 已更新   
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.
發布通知:
version 2.0

■ Minor updates to the interface.
發布通知:
version 3.0

■ Update to how the volume bar colors are determined.
發布通知:
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!)
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?