OPEN-SOURCE SCRIPT

Buy/Sell Volume Calculator

Telah dikemas kini
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.
Nota Keluaran
Scale moved to zero, and not open price
Nota Keluaran
Code is optimized and percent calculation added after request
Nota Keluaran
Percentage added in this new version, and a weighted calculation, using same formula as WVAP
Nota Keluaran
Version 1.1
Nota Keluaran
Percent added for the weighted calculation
Nota Keluaran
Updated with a more informative and useful way of showing the candlesticks.
Volume

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian