Count Minutes from Day Open?

Forums ProRealTime English forum ProBuilder support Count Minutes from Day Open?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #84531

    Hello!

    I am trying to figure out how to return the amount of minutes passed from open – but i just cant get a hold of it.

     

    The aim of this code is to retrieve the average minutes passed of each candle when using Tick Charts (just to get q quick hum about timeframe).

     

    Does anyone have a suggestion? This is what ive come up with so far and it gives an OK estimate of average minutes, but would be more precise if i could get the (exact) amount of minutes passed since open.

    The “minpertick” is the number im aiming for.

     

    Please note that the y-values have no purpose whatsoever – its just for me to see the “equation”.

     

    THANKS!

    #84534

    Replace empty line 6 with:

    Then insert before line 25:

    Now COUNT will hold the number of minutes fron the start of the new day.

     

     

    1 user thanked author for this post.
    #84535

    Wow thanks for a superquick answer a saturday morning! Ill give it a try!

    #84541

    Unfortunately that did not really work when switching between timeframes – but i managed to get it exactly as how i wanted it now.

     

    Perhaps someone else can benefit from it…

     

    Regards!

    Viktor

    2 users thanked author for this post.
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