TradingView
fikira
Jun 7, 2022 3:07 PM

LTF -> HTF volume delta Up/Down 

Bitcoin / United States DollarCoinbase

描述

This script derives from my previous Educational LTF -> HTF volume delta script.

Total volume is displayed as columns in the background.

With request.security_lower_tf() we get data from a lower timeframe.
In this case, volume, which is placed in an 'up-array' when the 'lower timeframe close' > 'lower timeframe open',
or in an 'down-array' when the 'lower timeframe close' < 'lower timeframe open'.

This is displayed here as 2 (red/green) lines

When you're at a chart timeframe (Higher timeframe), lower than Daily, the lower timeframe is automatically 50x smaller than the higher timeframe.
Example D = 1440 minutes -> divided by 50 = 28.8 or rounded a lower timeframe of 29 minutes
When this number is below 1, it will take the '1 minute timeframe' as lower timeframe

If the higher timeframe chart is Daily or higher, a 'x minute-lower timeframe' chart is calculated from the timeframe.multiplier multiplied by 25,
for example a 2D higher timeframe will do the 'lower timeframe calculations' with a 50 minute TF (25 * 2 'D')

Looking at for example BTC on the Daily higher timeframe, some interesting observations can be done when looking at the 'spikes'


This script doesn't have build in arrows, it is merely made to give some stimulation,
and hopefully some of you can work further on this technique, because I think it is very promising!

I want to thank Tradingview very deeply, why?
Just so many reasons, development, moderation, organisation, helpdesk, ...
The amount of work they are doing is incredible!

版本注释

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
评论
m4rk3tm4k3r
Thanks!
fikira
@m4rk3tm4k3r, Glad you like it! Thanks! 💙
zschonn
@fikira I'd be grateful if you could guide me, I gonna make screener indicator with multiple instrument & indicator, I follow screener function :

screenerFun(numSym, sym, flg) => [rsi, rsidif, deltaV, ADX, ssma] = request.security(sym, timeframe.period, screener_func()) arr = array.from(numSym, rsi, rsidif, deltaV, ADX, ssma) Could you give me an idea, how can I accomodate ltf security? I'm newbee just learning things from your script. Many thanks
zschonn
@fikira To be honest, this is one of your best invention, the only thing I encounter by which I'm not satisfy with LTF up down volume, it brings more & more down volume than the up volume, you will hardly see the full up volume bar, I even though test long uptrend chart as well. Check it if you get some time by turning u/d vol LTF in histogram. Thanks a lot & Stay blessed
zschonn
Just make a little correction, In fact i use 30m TF perhaps HTF is the problem otherwise I check from until 15m it looks well. Well done @fikira
fikira
@zschonn, 🙏 👍
HeyHoTrader
Thanks!
fikira
@HeyHoTrader, You're welcome 😀
gileduardomr
thanks.
fikira
@gileduardomr, You're most welcome!
更多