OPEN-SOURCE SCRIPT

Buy/Sell Volume Calculator

Atualizado
This script is calculating difference between buy and sell orders, realtime when the candle is build, using the accessible data.
Since we do not know how many stocks every single trade is executing, It only can use number of trades, showing how many trades resulting in price raising or lowering.
But it seems to be pretty god anyway.
The script is supposed to be a fine tuning when a trade is running, and early signals is needed.
When the green candle is larger than the red, price is supposed to rice, and the other way around when the red candle is larger the the green.
It calculate ONLY realtime. When starting the script there is no data, until candlesticks is builded.
Notas de Lançamento
Scale moved to zero, and not open price
Notas de Lançamento
Code is optimized and percent calculation added after request
Notas de Lançamento
Percentage added in this new version, and a weighted calculation, using same formula as WVAP
Notas de Lançamento
Version 1.1
Notas de Lançamento
Percent added for the weighted calculation
Notas de Lançamento
Updated with a more informative and useful way of showing the candlesticks.
Volume

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