GetTimeFrame not working for TimeFrame(Default)

Forums ProRealTime English forum ProBuilder support GetTimeFrame not working for TimeFrame(Default)

Viewing 5 posts - 1 through 5 (of 5 total)
  • #184833
    JS

    GetTimeFrame returns always -1 when applied to TimeFrame(Default)

    #184839

    yes that’s still the case for IG, it has been fixed already in software version. I think that version will come very soon for IG users.

    1 user thanked author for this post.
    avatar JS
    #184841

    This topic has already been delt with at https://www.prorealcode.com/topic/help-with-gettimeframe-and-timeframe/#post-184824.

    Please do not double post. Thank you 🙂

     

    1 user thanked author for this post.
    avatar JS
    #184851

    Besides the default TF, I think GETTIMEFRAME has   yet another bug in the monthly TF !   For example if we run this code:

    it should return the number of days of the actual month but it will return 30 days for every month no matter what.  I guess this bug will propagate to the quarterly  and yearly TFs,  but I didnt test those.

    #184856

    1 month is always 1 month, no matter if 28, 29, 30 or 31 days are in it.

    The GetTimeframe keyword is only used to let you know what TF you are using, not how many days are in it.

     

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