How do I draw opening range lines?

Forums ProRealTime English forum ProBuilder support How do I draw opening range lines?

Viewing 7 posts - 1 through 7 (of 7 total)
  • #166109

    I just want to draw two lines, the high and low of the live trading day from a timestamp.  Essentially ORB at 45 minutes from market open.  I’ve been modifying this indicator many ways, but I just can’t get anywhere with it, and I’m losing my mind.  This should be simple…

    https://www.prorealcode.com/prorealtime-indicators/open-range-breakout-indicator-orb/

    #166149

    RubberToe – ‘Struggling with a simple task’ is not a meaningful title. Your title has been edited.

    • Give your topic a meaningful title. Describe your question or your subject in your title. Do not use meaningless titles such as ‘Coding Help Needed’.
    #166151

    There you go, just change the time as best fits you:

     

    #166164

    Thank you for looking at this, but we are hitting the same problem.

    The lines are still draw dynamically throughout the trend, but I only need two static lines set off the highest/lowest price in the first 30 minutes after the open.  The lines would start at a time (for example 11:00 am EST and stop at the end of the trading day.

    I’ve been trying the DRAWSEGMENT command, but I can’t find good examples and the documentation is pretty thin…

    #166169

    OK, some success.  I modified the code and set to 30 minute timeframe, which seems to do the range nicely.  Now I need a way to not draw the line for those first 30 minutes….

     

    #166174

    how about this little code (just change the ORB and end of session times that fits you) :

     

     

     

    1 user thanked author for this post.
    #166184

    Nice thanks!

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

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