Enter a trade based on multiple timeframes 1min/5min

Forums ProRealTime English forum ProOrder support Enter a trade based on multiple timeframes 1min/5min

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

    Hi,

    I want start a trade by using mulitple timeframes.

    For example: I want to start a trade in the 1m chart based on the close in the 1min chart and  the highs/lows of the 5min chart.

    I don’t know how to create a code using multiple timeframes so I created the code below but I don’t have any result after backtesting, what is wrong?

    Or does anybody have a idea how to create the code with multiple timeframes?

    Thanks in advance.

     

     

    #188667

    To learn how to use multiple time frames in your code, you should search this forum for the word MTF. You’ll be returned many articles, posts and code snippets to learn from.

    This is your code as requested (not tested):

     

    #188795

    Hi @robertogozzi,

    It’s working!

    Thanks again!

     

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