OPEN-SOURCE SCRIPT

Day's Buy Sell Volume label

ที่อัปเดต:

This indicator looks simple but it was bit tricky to code and to make it work on all time frames .
I have used array in this to showcase the use of array, array give you more flexibly.
It works on all time frame 1m 2m 3m 5m 10m 15m 30m 60m 120m.
When the time frame is greater than the or equal to "D" it will show the current bar volume only.


Total volume is made up of buying volume and selling volume. Buying volume is the number of shares, contracts, or lots that were associated with buying trades, and selling volume is the number that were associated with selling trades.

This indicator shows two labels green one is showing the buying volume of the current day and the red label is showing the selling volume of the current day.
I am making this code available to all.
This code is for Total volume is made up of buying volume and selling volume. Buying volume is the number of shares,
contracts, or lots that were associated with buying trades, and selling volume is the number that were associated with selling trades.
//thanks to Doc6272 who asked to make this indicator Label
เอกสารเผยแพร่
UPDATE 1:
1.added current bar volume can be On/Off by Changing input option
2.removed BUGS
เอกสารเผยแพร่
Updated Label's
เอกสารเผยแพร่
Now you can see volume change in percentage also, Enable in input.
//Thanks to @hjsjshs for this update idea.
เอกสารเผยแพร่
Bug Removed, No changes Done in user Interface.
เอกสารเผยแพร่
Added comments in the code for better understanding of the code.
เอกสารเผยแพร่
The new version fixes the volume display, I have updated the codes with latest Pine Tables.
This is more user friendly than the previous version.
This new update is looking promising , thanks to PineCoders for this update tradingview.com/blog/en/introducing-pine-tables-24604/

if you want you can switch to previous version in the settings.
เอกสารเผยแพร่
max_bars_back error resolved.
buyinglabelsellingVolume

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?


Learning to trade and coding my strategies in Pine Script. Passing Prop Firms. DM me for any inquiries.
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ