Get current timeframe

Forums ProRealTime English forum ProBuilder support Get current timeframe

Viewing 3 posts - 1 through 3 (of 3 total)
  • #247295

    How do I get the timeframe of my chart? I want to use this info to creae higher timeframe objects?

    For exmple if current tieframe is 5 minute,  I will set the highr timeframe to 1 hour, if 1 hour, set it to 1 day, etc

    Is there a way to define an external variable for user to choose the timeframe?

    #247297
    JS

    The GetTimeFrame instruction returns the current timeframe in seconds…


    It is not possible to use variables or if-then statements in combination with TimeFrame

    1 user thanked author for this post.
    #247332

    Here an example:

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

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