Dynamic horizontal lines around major levels?

Forums ProRealTime English forum ProBuilder support Dynamic horizontal lines around major levels?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #123229

    Hi,

    I’m looking for this kind of indicator that would plot two or three major levels to upside and downside of the current price. Please see my screenshot. This is a static indicator that I’ve done but I have now idea how to make it dynamic, for example, if DAX is 9500 then the upper levels would be 9600, 9700 and lower levels would be 9400, 9300. Below is my static code for reference which is used in the chart. “Midpoint” is “price3” variable

    Thank you for any ideas or code samples!

     

    #123238

    I coded that snippet months ago for someone else:

    The settings talk for themselves, try to play with it (example attached).

    1 user thanked author for this post.
    #123245

    That’s actually very nice way to do it. Thank you for this code and very speed response! 🙂

    -Andy

     

    #123560

    Andy K – I have deleted your unnecessary quoting. Please avoid quoting code. Only quote if you need to highlight that you are replying directly to a part of text someone has written or if there are several people in a conversation and you want to highlight who you are specifically replying to. You can quote just parts of someones post by highlighting it and clicking on ‘Quote’.

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

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