MTF error message help

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #120002 quote
    TRADESHOCK
    Participant
    Junior
    timeframe (5 minutes,updateonclose)
    indicator5 = ExponentialAverage[8](close)
    indicator6 = ExponentialAverage[21](close)
    
    Beartrend = indicator5 crosses under indicator6
    
    timeframe(default)

    Getting an error message shown in the picture, not sure why and haven’t found anything searching the forum. Ive changed the timeframes and still get the same message. That’s the first part of the code and a picture of the error message.

    Thanks for any help and guidance!

    nnnnn.jpg nnnnn.jpg
    #120004 quote
    robertogozzi
    Moderator
    Master

    All timeframes used in the strategy must be multiple of (and equal or greater than) the default timeframe, the one on the chart from where the strategy is run.

    So, in your case, since you are using the 5-minute TF, you can launch your strategy from a chart whose TF is less than or equal to 5 minutes.

    So you can launch it from a 1-second, 15-second, 1-minute TF, but NOT from a 40-second nor 2-minute, nor 3-minute TF, nor from any TF greater than 5-minutes.

    The TF on your chart must the lowest or equal to the lowest TF used in the strategy. It’s the TF that sets the pace at which the strategy is executed.

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

MTF error message help


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
TRADESHOCK @russellite Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
6 years ago.

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