TJalam

Day's Buy Sell Volume label

TJalam 已更新   

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 www.tradingview.com/...g-pine-tables-24604/

if you want you can switch to previous version in the settings.
發布通知:
max_bars_back error resolved.

An enthusiast trader. I code my strategies in pine script.DM me for any Info.
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
TRC20: TPutH6FDYg6bJFF7xCjesp4n44qrMnizc7
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?