TradingView
fikira
4 Jun 2022 pukul 00.41

Educational LTF -> HTF volume delta 

Bitcoin / United States DollarCoinbase

Deskripsi

This script shows 1 of several technique to gather volume delta
-> more explanation can be found in the script itself,

Cheers!

Catatan Rilis

• Added volume labels for buy/sell volume

Catatan Rilis

• update

Catatan Rilis

• Update

Catatan Rilis

Added some features for visibility enhancement

█ Settings -> 'Appearance'
• 'stack' (original) (Buy and sell volumes are stacked on each other -> no overlap)

• 'sell V -> column / buy V -> hist'
-> Not stacked on each other, sell V is displayed as a column, buy V as a histogram (tick line)

• 'buy V -> column / sell V -> hist'
-> Not stacked on each other, buy V is displayed as a column, sell V as a histogram (tick line)


In both 'non stacked' options, total V is visible in the background, in the 'stack' option the total volume
is not as visible, since both buy and sell V is stacked on top of each other, which IS the total V

Cheers!

Catatan Rilis

Added extra option 'split' where up Volume is displayed above 0, dn Volume below 0,
together with ema's of both

Catatan Rilis

This script is part of a collection of educational scripts
If you want to return to the open source INDEX page, click here
-> Education: INDEX
Komentar
dgtrd
a quality educational post, well done
fikira
@dgtrd, Thanks! Appreciate it very much! 🙏🏻
davewantsmoore
Such a neat explainer of request.security_lower_tf and for each (index, data) in array.
Thanks!
fikira
@davewantsmoore, 👍🙏🏻
davewantsmoore
@fikira.... do not include gDn, in the calculation for "buy volume" (line 78) ?! :)
fikira
@davewantsmoore, actually, this is the 'difference' between them, you have your neutral volume, then the down volume, which overlaps, so the visible down volume is down volume, the rest is 'overlap'.
The same with buy volume.
Neutral + Down (overlap) + buy volume, this is the green part which doesn't overlap, the true Buy volume.
Otherwise you wouldn't be able to distinguish them from each other
davewantsmoore
@fikira, I'm confused then :)
In your script the plotted values for "total volume" and for "buy volume" are the same.
If you replace the plot on line 78 with plot(gNt + gUp) .... then the plotted values are such that "buy volume" + "sell volume" = "total volume"

(Sorry didn't want to cruft up your comments section quibbling about this) :)
fikira
@davewantsmoore, How would you otherwise show buy volume?
If it is less then sell volume, you won't see it, this is a way so you can see each volume as blocks on top of each other, yes, 'buy volume' is the same as total, because it is the last of the 3, all 3 volumes together is the total.
Don't look at the numbers, look at the columns. Perhaps I could add a label on top where each volume has its exact value 😉
davewantsmoore
@fikira, ok, I understand. :thumbup:
fikira
Lebih lanjut