difference between timeframe(updateonclose) and timeframe()

Forums ProRealTime English forum ProOrder support difference between timeframe(updateonclose) and timeframe()

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

    hi,

    can someone explain the difference between timeframe(…,updateonclose) and timeframe(..)? and if  I am on 15min chart by default and the time is 2:30. i have a timeframe(4h,updateonclose) so does the command use the previous candle on the 4h chart because the lastest 4h candle has not closed yet?

     

    thank you

    #162294

    Yes, if you used timeframe(…,updateonclose), since all data are updated when the 4h candle closes.

    timeframe(..), which can also be written as timeframe(..,default) would use the current 4h data every 15 minutes without waiting for its closure.

    Timeframe(default) refers to the lowest TF used, instead. The one on your chart that has been used to set the pace at which the strategy is executed and for which updateonclose and default have the same meaning and are, for this reason, not allowed.

     

     

    #162305
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