Renko Bricks with Volumes

v10.3
Renko Bricks with Volumes

This version of the renko indicator for prorealtime, adds the Volume information to allow or not the construction of new brick.
I introduced several “experimental” parameters to adapt the indicator to the displayed instrument.

Renko bricks can be built using a fixed point size defined by the “boxsize” parameter, a new brick will be built only if the volume of exchanges has been at least greater than the “volumesize” parameter since the last brick .
These settings being very strict, I added an automatic feature for a more convenient adaptation to each instrument and timeframe. Thus, the parameters “autoRenko” and “autoVolume” allow a more ‘user friendly’ approach:
_ autoRenko means automatic renko brick size based on 2 time ATR periods.
_ autoVolume means automatic volume size to allow new brick or not (override the “volumesize” setting), based on average of Volumes.

It is possible or not to “paint” the background of the graph according to the trend identified by the reversal of the bricks (parameter ‘showBG’).

This indicator is experimental and I invite you to discuss it in case you have ideas for improvement or concrete use in this topic of the forum: New Renko System

 

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?

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

  1. DaxRider • 02/19/2018 #

    Hello Nicolas
    de plus en plus remarquable comme indicateur, merci de ton apport et partage

  2. swapping • 02/19/2018 #

    Nouvelle approche en mode “scalping pur”, merci Nicolas pour cet indicateur qui va surement faire des émules !!!

  3. Real Pro • 02/19/2018 #

    Hi Nicolas, Great work here thanks. How do I enable auto mode for the brick drawing please?

    • Nicolas • 02/19/2018 #

      With:
      autoRenko=1 //automatic renko brick size based on 2 time ATR periods
      autoVolume=1 //automatic volume size to allow new brick or not (override the “volumesize” setting) based on average of volume instead of fixed value

    • Real Pro • 02/19/2018 #

      Thank you. I tried the following but it does plot but not as I’d expect.

      //PRC_Renko Bricks Volumes | indicator
      //19.02.2018
      //Nicolas @ http://www.prorealcode.com
      //Sharing ProRealTime knowledge
      // https://www.prorealcode.com/topic/new-renko-system/

      //—settings
      transparency=50 //brick colours alpha
      wicksize=1 //width of wicks
      boxsize=0//(bricksize) //renko bricks size in points/pips
      volumesize=0//(volch) //volume size setting to allow new brick
      showBG=0 //background color (true/false)
      autoRenko=1 //automatic renko brick size based on 2 time ATR periods
      autoVolume=1 //automatic volume size to allow new brick or not (override the “volumesize” setting) based on average of volume instead of fixed value
      //—end of settings

      if autoRenko=1 then
      size=averagetruerange[14]*2
      else
      once size=boxsize*pointsize
      endif
      if autoVolume then
      volumesize=average[1000](volume)*10
      endif

      once upbox = close
      once downbox = close – (boxsize*pointsize)
      once lowwick = close*100

      volumesum = volumesum+volume

      IF close > upbox + size and volumesum-lastvolume>=volumesize THEN
      lastvolume = volumesum
      upbox = upbox + size
      downbox = downbox + size
      r=0
      g=200
      begin=barindex
      highwick=close
      wickbar=barindex-round((barindex-begin[1])/2)

      ELSIF close =volumesize THEN
      lastvolume = volumesum
      upbox = upbox – size
      downbox = downbox – size
      r=200
      g=0
      begin=barindex
      wickbar=barindex-round((barindex-begin[1])/2)

      ENDIF

      //saving current high/low
      highwick=max(high,highwick)
      lowwick=min(low,lowwick)

      //compute wicks at each new contrarian brick
      if r>0 and r[1]=0 then
      //new red brick
      drawrectangle(wickbar,highwick,wickbar+wicksize,upbox[1]) coloured(r[1],g[1],0)
      lowwick=low*100
      highwick=0
      endif
      if r=0 and r[1]>0 then
      //new green brick
      drawrectangle(wickbar,lowwick,wickbar+wicksize,downbox[1]) coloured(r[1],g[1],0)
      lowwick=low*100
      highwick=0
      endif
      //compute wicks at each new same brick
      if r>0 and r[1]>0 and lastdrawnwickbar then
      //new red brick
      if highwick>upbox[1] then
      drawrectangle(wickbar,highwick,wickbar+wicksize,upbox[1]) coloured(r[1],g[1],0)

      endif
      lastdrawn=wickbar
      lowwick=low*100
      highwick=0
      endif
      if r=0 and r[1]=0 and lastdrawnwickbar then
      //new green brick
      if lowwick<downbox[1] then
      drawrectangle(wickbar,lowwick,wickbar+wicksize,downbox[1]) coloured(r[1],g[1],0)

      endif
      lastdrawn=wickbar
      lowwick=low*100
      highwick=0
      endif

      //draw renko candlesticks
      drawcandle(upbox,upbox,downbox,downbox)coloured(r,g,0,min(transparency,255))
      if showBG then
      backgroundcolor(r,g,0,min(transparency,255))
      endif

      RETURN

  4. Real Pro • 02/19/2018 #

    working now, sorry for the bother

  5. David29 • 02/19/2018 #

    BONJOUR,

    Félicitations pour cet indicateur. Avez-vous une idée de comment créer une stratégie qui dirait que :
    Achat lorsque la brique se dessine vers le haut avec clôture de position lorsque la brique change d’orientation en direction du bas et inversement avec Short lorsque la brique se dessine vers le bas et TP lorsque la brique commence à s’inverser ?

    • Nicolas • 02/19/2018 #

      Je pense que ça a déjà été codé quelque part sur le forum. Dans la négative merci d’ouvrir un nouveau sujet spécifique.

  6. pintaudm • 02/19/2018 #

    Bonjour Nicolas
    merci pour ton partage. Je débute avec ProBuider et tes sources me son d’une très grande aide.
    Cordialement.
    Michel

  7. YvesRobert • 338 days ago #

    Bonjour, ce message s’adresse à Nicolas puisqu’il est le spécialiste de la programmation sur PRT.
    Je suis nouveau et m’interesse aux Renkop pour mes graphiques.
    Mon souci est que par exemple lorsque je créé un programme pour qu’il m’affiche une fleche montante au croissement de moynennes mobiles
    à la hausse, je pense qu’il prend les données du graphe renko et c’est bien car c’est ce que je voulais, alors que si j’utilise le même programme dans un screener
    pour sélectionner les instruments qui ont se croisements de MM, le système se base sur le graphe en Prix.
    Alors, comment faire dans un screnner pour lui dire de calculer tous les indicateurs dans ce programme en utilisant le chart Renko ?
    Si vous avez la réponse ?
    En vous remerciant et bonne journée

    • Nicolas • 320 days ago #

      Les graphiques décorrélés du temps ne sont pas compatibles avec ProScreener. Pour ce cas en particulier, je suggère de créer une alerte via l’outil des alertes de la plateforme.

  8. YvesRobert • 320 days ago #

    Bonjour à tous et à toutes, quelqu’un d’autre aurai-til la réposne à ma question ci-dessus ?
    Comment faire un screener en se basant sur un graphique en Renko ?
    En vous remerciant e tbonne journée.

    • YvesRobert • 318 days ago #

      Merci beaucoup Nicolas. Existe t’il un petit programme qui permet de tracer sur la graphe en prix, exactement la même chose que lorsqu’on choisi la représentation Renko dans PRT ? Encore merci et bonne journée à tous et à toutes.

    • Nicolas • 318 days ago #

      Oui il y a celui ci: https://market.prorealcode.com/product/prt-renko/?lang=fr

  9. YvesRobert • 306 days ago #

    Bonjour Nicolas, j’ai une question technique à te poser. Je visualise souvent le cours en RENKO sur la plateforme PRT, or, quelque fois, par exemple on voit 1 ou 2 cubes apparaitre, puis 1 seconde après disparaitre. C’est dû à quoi exactement ? Le cube renko ne s’affiche que définitivement sur le graphe si quel évènement se produit ? Merci et bonne journée.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
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í...
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?
Alexander9 This code for metastock ?, can for amibroker . Thanks
TACBOLSA
6 years 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 ?
mangiaragni Buongiorno io non riesco a visualizzare nessun tipo di volume , mi torna sempre una linea dr...
Nicolas Assicurati che lo strumento che stai guardando abbia dei volumi! È il caso?
s00071609 Is it possible to have fibo numbers like 1, 2, 3, 5,8 sequence by modifying the calculation?
Nicolas sorry i dont get it. you want to plot the next level at current price + ratio?
s00071609 I meant not plotting 4, 6 and 7. This question about having 1,3,5,8 sequence was meant to be...
Carlos Garcia If price tags the lower BBand, look for IIIX has positive values to enter a trade. Converse...
Thally Thanks for the quick response Nicholas. Would you have any idea how to resolve. Manually ref...
Thally Do you think adjusting the below code might help? newperiod = minuteminute[1] if newperi...
Nicolas There is no "second" instruction.
bertrandpinoy hi Leo, are you still using thoses strategy right now?
avatar
crazytrader Any improvements of this?
princedon184 hi my name is prince i need help
GenesisEX Thank you all for your contributions this is a great submission. Thanks for your inputs.
tino Bonjour nicolas. Je ne parviens pas à recopier le screener de l'indicateur. Auriez vous la g...
Nicolas Quel screener svp? C'est dans un des sujets du forum? Merci de fournir le lien.
gabri Ha ragione in computer, ho sbagliato io BullAD = summation[period](ADvolbull*((Close-Low) –...
marcov66 Perfetto! Funziona. Grazie di tutto!
SkrHugo Bonjour, J'essaye d'utiliser le script avec le graphique renko mais sa ne marche pas, quelq...
Tonicejudo Hola Nicolas, a ver si me puedes ayudar. Hay un indicador que se llama volumen stop de bolsa...
Nicolas Utilice los foros para hacer preguntas no relacionadas con la página actual ...
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...
Giuseppe68 ciao, ho provato l'indicatore e mi sembra interessante, ma in fase di backtest non riesco ad...
poldoposta veramente bello.....complimenti
ALE
6 years ago
settival CIAO ALE CREDO DI AVER SETTATO PER BENINO LO SCALPING INDICATOR MA NON VISUALIZZO I SEGNALI ...
graff.laetitia Hello, I'm sorry to bother you, I'm new to trading, I managed to download the indicator but ...
Alby118 i can get it to work? dax 1 min. upload indicator on the4 chart. thank you
GraHal Is this the Discussion Topic you need @Gregg https://www.prorealcode.com/topic/scalping-i...
bertrandpinoy bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serai...
Nicolas Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le ...
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...
Juanjo Hola¡¡ la estrategia se podria aplicar sobre acciones con marco temporal diario?? gracias.
rb-72 5 Minutes, 15 Minutes, The most effective 1 Hour below 0 or above 0 as a turn signal in the ...
Andraxx Interpretación de el indicador??? Gracias
TAC Bolsa Oscilador que hace una medición ponderara basado en la distancia entre precio y una media Mó...
Nicolas Better to download the file from the page and import it into your platform in order to not c...
marcov66 Hi Nicolas, thanks for sharing the VWAP Date Indicator. It is really powerful. Nevertheless,...
Nicolas Are you sure you are using the same exact date, hours, minutes, seconds for anchor?

Top