Exclude last week from indicator calculation?

Forums ProRealTime English forum ProBuilder support Exclude last week from indicator calculation?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #110457

    I’m trying to write an indicator that excludes the last 5 days of data from the calculation but I can’t seem to work.

    Experimenting with the output from TODAY, YESTERDAY and DAY in PRT 11.1 attached is what I get, this doesn’t seem correct to me. Can someone explain what I’m missing or help me code how to exclude the last x days please?

    Thanks

    Rob

    #110500

    TODAY and YESTERDAY return dates in YYYYMMDD format. But the text is truncated because it exceeds million.

    To get the complete number, you can try to multiply the date by 1.000.000: (YESTERDAY[1]*1000000)

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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