Cumulative Volume Delta with periods

v10.3
Cumulative Volume Delta with periods

Because it is not possible to get the bid/ask volumes into an usual timeframe (such as the 1 minute one for example), I had the idea to use the “tick by tick chart” to get them. In this kind of chart, each price movement is x ticks received.

Each time the price is higher than the previous received one, the code count the Volumes received as a positive one, same goes for a lower price received, counting as a negative Volumes.

These Volumes counts are accumulated and plotted as green and red histograms. Then a “Cumulative Delta”, which is the difference of the 2 histograms is plotted as a black line.

When the Cumulative Delta is crossing below the zero line, the bearish pressure is real, while the bullish one exist when the Delta is crossing above zero level.

I add a setting to reset the Cumulative Delta to zero each X minutes with the “minutes” parameter. So it is possible to stack many Cumulative Delta on the same chart with different “minutes” settings to get the large picture and smaller one(s).

Note: This indicator is only compatible on a ‘Tick by Tick’ chart with instruments which have Volumes.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Matriciel • 242 days ago #

    Merci encore pour cet indicateur Nicolas.

    Juste pour ma formation personnelle en matière de langage PRT, je ne comprends pas ceci : minuteminute[1]
    C’est surtout le “” que je ne comprends pas.
    Peux-tu me l’expliquer S.T.P ?

  2. Nicolas • 242 days ago #

    Cela permet de tester si on a changé de minute sur la barre courante

  3. Mert • 242 days ago #

    Hello Nicolas, I do not now if this is the place to ask but I would like to ask you something. I am sure that for you it is very simple. I have a moving average in my charts. This MA changes color from red to green for an uptrend and green to red for a down trend.
    I want to have code that covers the color change so that I, for example, can use it in a trading system. Like: go long if the MA turns green. Go shot if the MA turns red. Or use it in an allert. Can you help me in that?
    Warmest regards and thanking you in advance.
    Mert

    • Nicolas • 242 days ago #

      This is not the right place, please open a new topic in ProOrder forum. This question has been answered many times, I’m sure you will find an answer by using our search engine (right under your avatar at the top right of the website or in the homepage).

  4. claudio1964 • 128 days ago #

    Hello Nicolas great indicator, I use it on prorealtime, can I have a code version for Webank T3? Webank T3 uses proealcode language but I found some problems to generate your indicator thank you vero much

    • Nicolas • 128 days ago #

      I think that it could work if you remove “style(histogram)” from the last line of the code.

  5. Bretty86 • 57 days ago #

    Great work Nicolas! Thank you!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas ok, but 1. you are comparing different data (same broker or not?), same timezone? same custo...
fxforex93 Bonjour Nicolas. je vais vous parler en français. j'ai un simple abonnement prorealtime (je ...
Nicolas Si il n'y a pas de volumes, le TVI ne pourra pas se calculer, donc oui le "problème" vient b...
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
oracle Nicolas "podrías agregar una línea en el indicador, indicado el Volumen Máximo .. en modo V...
Nicolas Se puede hacer, por favor haga una solicitud específica en el foro, gracias.
oracle Es esto lo que necesitas Nicolas https://www.prorealcode.com/topic/bull-bear-volume-by-p...
bolsatrilera EM MONEY FLOW INDEX + ALERTS //@version=3 // on platform Tradingview by DreamsDefined //a...
Carlos Garcia Enorme. Gracias!
Andraxx Buen indicador.... Gracias
Kris75 Hi TAC, Thanks a lot for this great piece of work; -) MUCHAS gracias ;-) did I read right,...
TAC Bolsa All indicators share some code of other TAC indicators that improve the functioning of this ...
ramonjp Hi Tac, Great job. Please, can you provide latest code version of this indicator without ...
TAC Bolsa Estas equivocado al 99,9%. La correlación entre las series de precios y volúmenes las des...
Domenec Si hablas de un indice regional como el Ibex es posible que sea asi yo nunca lo he operado y...
TAC Bolsa Regional de Mostoles, en una cosa tienes razón mejor dejarlo aquí...
Nicolas Thank you Xusto. Thank you a lot for your contribution :) Since your code is a Pathfinder'...
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
TAC Bolsa
6 months ago
luxrun Thank you so much Tac BOLSA, I can not post the picture tonight I'll try tomorrow. I loaded ...
TAC Bolsa A new version of TAC Volume HPI DIV10.4 is available. that marks the divergence In the fo...
Raymundo Buenas tardes. Como puedo descargar algunos indicadores de esta pagina ?
Real Pro working now, sorry for the bother
David29 BONJOUR, Félicitations pour cet indicateur. Avez-vous une idée de comment créer une strat...
Nicolas Je pense que ça a déjà été codé quelque part sur le forum. Dans la négative merci d'ouvrir u...
Nicolas Je le retrouve très rapidement dans notre forum: https://www.prorealcode.com/topic/cumulativ...
sublime06 merci, j ai essayer mais erreur, il me dit la fonction prc n existe pas ?
Nicolas "PRC_CumVol ZigZag Divergences", c'est le nom de cet indicateur, il doit être présent dans l...
gabri Segie, I can add text on the graph of THIS indicator. To add text ALSO on the price graph yo...
inder1211 bro volume indicator works on mt 4 ?
Nicolas This indicator is for ProRealTime (PRT), you can ask for private job on this page: https://w...
Alai-n I also have the same problem that I can not solve especially on LowVolume (Yellow) ... Sorry
Mert No need to apologise, my friend. It is great code. I hope you find a solution soon. Regards.
gabri I think it's because the lookback period changes at every new bar and that means that many c...

Top