OPEN-SOURCE SCRIPT

Volume Weighted Price Over A Moving 60 Bar Window

Por dangerboy72
// By S.Black
// 4/24/2019
// Pine on TradingView.com
//
// This plot takes a simple 60 bar window
// For each bar in the window 3 things are plotted:
// 1.) The volume-weighted average, each bar's volumne * price summed, then divided by total volume
// 2.) The simple 60 bar average (not weighted)
// 3.) The close price (for reference)
//
// Green is used when the weighted price is above the average
// This is meant to indicate that actually, by volume the stock may be worth more that it is currently trading at.
// I made a new script was because I didn't see one that had a rolling hour window.
Moving AveragesVolume

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal