Multi timeframe – MTF indicators for ProRealTime

Forums ProRealTime English forum ProBuilder support Multi timeframe – MTF indicators for ProRealTime

Currently, there are 1 user and 2 guests visiting this topic.
View all attachments
Viewing 3 posts - 76 through 78 (of 78 total)
  • #177689 Report

    This is the same one as above, that can be used in straategies:

    #177692 Report
    Tnx for that. So to understand TimeFrame keyword, why have you used the below 3 timeframes in the same code? How are they different from each other?
    The time frames I want to cover are:
    1 hr
    2 hr
    3 hr
    4 hr
    5 hr
    6 hr
    7 hr
    8 hr
    9 hr
    10 hr &
    11 hr
    So how do you suggest I set up the code including Default, UpdateonClose etc?
    #177694 Report

    Timefrane(default,UpdateOnClose) is mispelled. Actually it can be used, but UpdateOnClose is redundant with the DEAFAULT TF, as it can’t be any different, it is ALWAYS executed when a bar closes and cannot be update while that bar is forming. The difference between the two keywords is useful with its multiple TFs, which can be accessed while the bar is forming, UpdateOnClose updates variables when that bar closes, while Default updates variables when the DEFAULT bar closes (i.e. when the higher bar is forming).
    Those two with Timeframe(Daily,UpdateOnClose) are the same, I wrote them just to show that you can use that keyword multiple times in a scattered way, there’s no need for them to be in any order.
    Timeframe(Daily,UpdateOnClose) and Timeframe(Daily,Default) are different, as explained above.

Viewing 3 posts - 76 through 78 (of 78 total)

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