Renko boxsize in percent?

Forums ProRealTime English forum ProOrder support Renko boxsize in percent?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • #147885

    Hi!

    I’ve been searching for examples of this code but can’t find it.

    In PRT-charts it is possible to get the Renko boxes in % price movements. For example, 0.1 % is set as default. In the examples that I found of automated trading strategies or indicators using Renko, they are all written with a boxsize in pips. I can’t figure out how to code a boxsize in % of price. Is there a friendly soul that knows how and would like to share?

    #147893

    The below code is plotting renko boxes with a dynamic size in percentage of the current Close:

    Choose the percent value in line 1 by adjusting the “percent” variable.

    If you want the box size to be set only at first bar and therefore fixed for the rest of the history, change the line boxsize with:

     

    1 user thanked author for this post.
    #147927

    Thank you Nicolas! Great code! This have helped me understand the Renko better.

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login