JohnMuchow

Volume with Configurable Moving Averages

JohnMuchow Atualizado   
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.
Notas de Lançamento:
version 2.0

■ Minor updates to the interface.
Notas de Lançamento:
version 3.0

■ Update to how the volume bar colors are determined.
Notas de Lançamento:
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 de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?