Multi timeframe Error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #177948 quote
    Amr600
    Participant
    New

    Hello i tried to code a multitimeframe system, but it keeps giving me this error.

     

    Does anyone hve the solution for me!

     

     

    Thanks 600

    error-2.png error-2.png
    #177950 quote
    Amr600
    Participant
    New

    It says:

     

    All time units used in your code should be a multiple of the time unit used in the chart to which your strategy is applied.

    #177952 quote
    robertogozzi
    Moderator
    Master

    That’s right.

    MTF rules:

    • the Timeframe on your chart (named the DEFAULT Timeframe)  MUST be <= to the lowest one used in your code
    • ALL greater Timeframes used in your code MUST be multiple of the default TF

    If you use a 4-hour TF and a 30-minute TF, you can set the default TF (the one on your chart) to 1, 2, 3, 5, 6, 10, 15, 30 minutes, but NOT 4, 7, 20 minutes since both 4h (which is 240 minutes) and 30 minutes are NOT multiple of 4!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Multi timeframe Error


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Amr600 @amr600 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzi
4 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/20/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...