Recognize daily timeframe inside the code

Forums ProRealTime English forum ProBuilder support Recognize daily timeframe inside the code

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

    Dear Sir,

    is it possible inside the code to have a function that understands if the indicator is based on a daily chart or a 1-hour chart ?

    #61967

    Yes, this code snippet will return the minutes quantity of the current timeframe:

    I don’t remember who post this snippet initially, but thanks to him.

    #61969

    Thanks

    #62126
    Leo
Viewing 4 posts - 1 through 4 (of 4 total)

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