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 • 67 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 • 61 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 • 61 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 • 52 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 • 49 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.

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas Cela permet de tester si on a changé de minute sur la barre courante
Mert Hello Nicolas, I do not now if this is the place to ask but I would like to ask you somethin...
Nicolas This is not the right place, please open a new topic in ProOrder forum. This question has be...
Nicolas With: autoRenko=1 //automatic renko brick size based on 2 time ATR periods autoVolume=1 /...
Real Pro Thank you. I tried the following but it does plot but not as I'd expect. //PRC_Renko Bri...
Real Pro working now, sorry for the bother
beppe8949 Ciao Nicolas! Perdonami, ma come si fa a estendere il periodo dell'indicatore a 100 000 unit...
beppe8949 No ok ho risolto! Grazie :)
stecr Ciao a tutti e a NIcolas, vpoichè con lo zigzag non è attendibile l'ultima barra (visto che...
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...
Thomas007 It's a very powerful tool. Thanks for sharing! The Signal crosses the Trader a few times but...
rb-72 Thank you, area of twist by dilatacion of the price, missing part of the code that is not pu...
Thomas007 after reading your blog now I understand why there is only a part of your code here. I'm try...
Stenozar Hi, which timeframe do you use? have you tried with Dax? thanks
rb-72 5 Minutes, 15 Minutes, The most effective 1 Hour below 0 or above 0 as a turn signal in the ...
hamid1736 Hi Nicolas, I couldn't find a better way to ask you my question. I have a problem of findin...
Nicolas Sorry but this question has nothing to deal with this indicator, it belongs to a specific su...
papero76 great idea
gabri Hello, I am not sure to understand the screener completely. If you are looking for a screen...
Trading_En_El_Ibex35 El screener no busca acciones que estén en máximos absolutos , busca acciones en las que el...
Nicolas Je pense que ça doit être possible à faire bien sûr. Merci d'ouvrir un sujet dans le forum p...
Anthony Williams bonjour, tout nouveau ici, je recherche, concernant les vwap, l'indicateur vwap sur plusieur...
Nicolas Il n'existe pas encore dans la bibliothèque, merci de formuler une demande dans le forum app...
Thomas007 Is there any way to build something similar for FX? I wonder what would be the replacement f...
Jean-Pierre Poulain When I buy and when I sell ?
Nicolas The featured image of the post do not deserve the indicator you are right, I attached other ...
Nicolas It is described in the post already :) The BUY/SELL signals are quite similar of what you ca...
1 year ago
jiminykricket Hi Nicolas, Its fair to say i'm a relative novice with ProRealtime and as such i am not sur...
Nicolas You can use assisted creation in probacktest, you'll get a quick overview on how to call a p...
jiminykricket Thanks Nicolas, i'll take a look
1 year ago
sixtofer Inconmensurable, formidable, extraordinario, inmejorable, sublime, inalcanzable, superior, i...