Daily data for intraday

Forums ProRealTime English forum ProBuilder support Daily data for intraday

  • This topic has 4 replies, 2 voices, and was last updated 6 years ago by avatarLeo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #59391
    Leo

    Hi all,

    I am having a problem in a code.

    I would like to shown certain values of daily timeframe  in a short time frame.

    The variable as input is DAYS

    Here the code, it produce an error of an infinite loop which I don’t get why.

     

    #59395

    At a guess I would say that it is because DAYS is a potentially ever moving variable so in the middle of the loop it could add another day on before it is finished the loop and so the possibility is that the loop could never end. Plus DAYS is the total number of days since 1900 and so you will never reach the end of the loop because you won’t have enough bars on a chart to test that.

    1 user thanked author for this post.
    avatar Leo
    #59404
    Leo

    Wow! “days” is function in ProRealTime. in my computer Mac it always appear in color black like just a variable .

     

    Now it works. I will posted in the library then

     

    #59407

    Wow! “days” is function in ProRealTime. in my computer Mac it always appear in color black like just a variable .

    I did think it was strange that you were trying to use it! You should report the colour issue on Mac’s to PRT so they might fix it to avoid future confusion for others.

    #59451
    Leo

    I will thanks

     

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

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