Bear and Bull volume indicator

Bear and Bull volume indicator

This code is mainly for Wyckoffians and can be used in accumulation/distribution phases to spot the change of forces.

The volume bars are showing who is stronger in the period defined in the timeframe (more green means that bulls are running the show, in this case, in the weekly period).

The moving averages are showing the same information but based on an historical point of view (when the bull line crosses over the bear line bulls are becoming stronger in the longer period).

I suggest to use a period of 22 or more and always based on the timeframe in use.

Blue skies!!


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. gabri • 338 days ago #

    Cambia la riga cosi’:
    return volbear coloured (205,0,0) , volbull coloured (0,190,0) , mmred coloured (255,0,0) as “Bear average”,mmgreen as “Bull average”

    non verra’ visualizzato un istogramma ma una linea normale

    • Kris75 • 332 days ago #

      Hi Gabri,

      I am trying to set a simple strategy based on your very cool indicator

      Here are the conditions:

      BUY = ENTRY :

      if the bull-volume-green-bar CROSSES (i.e is superior) the simple moving average of the past 23 bull-volumes
      if the bull-volume-green-bar CROSSES (i.e is superior) the simple moving average of the past 23 bear-volumes

      SELL = EXIT:

      if the bear-volume-green-bar CROSSES the simple moving average of the past 23 bull-volumes
      if the bear-volume-green-bar CROSSES the simple moving average of the past 23 bear-volumes
      I tried to use the automatic coding system but it does not work; I tried also to code it myself using moving average but it is not working either.

      Can you help me on this?

      Thanks !


  2. gabri • 332 days ago #

    Kris, I will answer on the forum at the following address
    Give me a few days since I am in the process of moving.

  3. segie • 323 days ago #

    Hi Guys,

    Will it be possible to add “Texts” to this code. When the bull line crosses over the bear line I would like to insert a “BULL” text on the:
    1.Corresponding volume bar or histogram on this indicator
    2.On the corresponding Price candle. I would like the “Bull” text to appear just above the candle stick.
    3.Vice versa for when the bear line crosses the bull line.


  4. gabri • 320 days ago #

    Segie, I can add text on the graph of THIS indicator. To add text ALSO on the price graph you need to do another code and everytime you change the settings on the bear bull volume indicator you need to change the settings also on the second one….you might end up having not the same info and this is not good in my opinion.

  5. inder1211 • 171 days ago #

    bro volume indicator works on mt 4 ?

    • Nicolas • 171 days ago #

      This indicator is for ProRealTime (PRT), you can ask for private job on this page:

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+4 more likes

Related users ' posts
Nicolas Good job Gabri, I confirm that with the new ProRealTime v11, everyone will be able to use in...
Tamir Hacham I would be, at least for me, a good idea if you can draw the accumulative wave of volumes wi...
gabri Tamir, I am not sure I understand what you mean
Nicolas Si il n'y a pas de volumes, le TVI ne pourra pas se calculer, donc oui le "problème" vient b...
eckaw Hi Nicolas, I'm using this indicator when there is confluence over 3 different timeframes (5...
Nicolas Yes it is indeed possible. Create a topic in the screener forum and explain what you need an...
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...
Nicolas il faut cliquer sur 'older comments'.
Kris75 'older comments' non visible pour moi ; idem pour la barre supérieure ou l'on peut 'souscr...
Kris75 pb reproduit sur edge
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...
Niklas johansson hägglund do you now if it's possible to use this strategy with this code in tradingview also?
TAC Bolsa
9 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 ?
Carlos Garcia If price tags the lower BBand, look for IIIX has positive values to enter a trade. Converse...
claudio1964 Hello Nicolas great indicator, I use it on prorealtime, can I have a code version for Webank...
Nicolas I think that it could work if you remove "style(histogram)" from the last line of the code.
Bretty86 Great work Nicolas! Thank you!