Recurring Vertical Lines – datetolastbarindex

Forums ProRealTime English forum ProBuilder support Recurring Vertical Lines – datetolastbarindex

Currently, there are 0 users and 2 guests visiting this topic.
View all attachments
Viewing 9 posts - 16 through 24 (of 24 total)
  • #178137 Report

    So all was going swimmingly until an outage yesterday (ASX Cash timeframe) with PRT and since then we’re now capped to something close to ~30k bars in 1sec int Australia Cash 200., could be lingering outage issues, housekeeping. The DAX30(now 40) however seems worse for wear. Was a rock before then.

    It looks to only be affecting 1sec ints. and duplicating another chart from another period, say 5min, will recreate the charts correctly when 1sec is selected however shortly afterwards it redraws to ~30k bars – this is with or w/o the indicator applied.





    #194744 Report

    Anyway to add txt to the vertical lines (as drawn by code below)?

    drawvline(datetobarindex(20220606110000))Coloured (105,105,105)style(dottedline,1)


    Thanks in advance.



    #194752 Report

    There you go:

    1 user thanked author for this post.
    #194772 Report

    Hey Rob ….

    I must be going sideways on this one, this is what I had below but it was spitting the dummy.

    I’ll look closer and see what the go is.

    drawtext(“SGX”,datetobarindex(20220606110000))Coloured (105,105,105)style(dottedline,1)


    Many thanks for the speedy reply … 🙂


    edit: lol, dotted line ref. ….. one of those days. Thanks for setting me straight.


    #196499 Report


    Hi Team,

    I’ve put together something with Rob’s help over the journey that’ll plot open times and label them. Many thanks for this.

    Been great for the past few weeks till the other day where it started to flag an error, complaining about date format.


    I shrunk the days to 1 and it’s still having a problem.

    Very much a newb here with this and thanks for your patience with me.










    #196502 Report

    For some reason the month code for July is being interpreted as  70 rather than 07.


    The lines commented out allowed for line plots only, apologies for the mess.

    #196503 Report

    Not sure what happened here tbh, will have a closer look but this is usually set and forget.

    Even backups confirm it was <10, so,




    for a fix?

    Really confused atmo .. lol


    Will see how the day rolls up.

    #196504 Report

    Just as a follow up – I needed to create a new indicator with the same code otherwise the vectoring wouldn’t work.

    Copying and pasting.

    #196572 Report

    Just updating that all went well after the tweaks.

    Kind of odd that it all worked for a few weeks then went RS.

Viewing 9 posts - 16 through 24 (of 24 total)

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