Previous session high and low between two periods

Forums ProRealTime English forum ProBuilder support Previous session high and low between two periods

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

    On a 1 hour chart, can someone help with s code that at 9am in today’s trading session, looks at yesterday’s trading session and draws horizontal lines on highest high and lowest low between 10am and 12 noon. It should keep those lines across all of today’s trading session and only resets and does same again once today’s session is over and chart gets to tomorrow’s session at 9am

    #251694

    Hi. Test this code:

    1 user thanked author for this post.
    #251759

    Thank you Ivan. It works.

    How do I now add to exactly same i.e. highest high and lowest low between 12noon and 2pm and between 2pm and 4pm?

    In other words when I run the code, every morning at 9am, it draws 3 pairs of high and lows, 1 pair 10 to 12 of previous session, 1 pair between 12 and 2 previous session and 1 pair between 2 and 4pm of last session.

    tnx in advnce

    #251777

    Hi. You introduce as much intervals as you want. Here one more (Just do the same)

    1 user thanked author for this post.
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