LTF -> HTF volume delta Up/Down

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!
Notes de version: 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

#trusted pine programmers for hire

- We cannot control our emotions,
but we can control our keyboard -
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?