request Daily open line (New York 5pm EST) conversion from MT4

Forums ProRealTime English forum ProBuilder support request Daily open line (New York 5pm EST) conversion from MT4

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

    Is it please possible to convert this indicator from MT4?  I have searched but could not find an existing ProRealCode equivalent.

    On MT4 it shows a short blue line for several bars, the idea is that it starts at 5pm EST and can be used as support/resistance from the previous day (see screenshot).  The start time of the line needs to be set manually by a parameter that you provide for +/- hours.

    It would be nice to be able to choose the colour of the bar, but that is not essential.

     

    Thank you very much if possible.

     

    #135385

    That could be coded like this:

    Change the colour, style and thickness in the indicator settings window.

    #135614

    Nicholas – thanks very much indeed, that is much simpler code than the MT4 version!

    One small request though, can you please show me how to make this draw only horizontal lines like the MT4 one in the screenshot,  and avoid those vertical/diagonal lines between the close of one day and the open of the next?  I find the verticals very distracting with other indicators I use.

    EDIT: one thing I noticed is that this code works perfectly on a 1 hour timescale,but go to 30 minutes and it displays the line start at 17;30 (EST) instead of 17:00 and on 15 min timescale it displays at 17:45.   This is not a problem for me as such, but I did wonder if this was an easy fix?

     

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