Trading in M1 and buying confition in M30

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37113 quote
    Aymeric
    Participant
    New

    Hello,

    My algo is running in M1 time frame but I would like to add a buying condition based on the M30 time frame,

    If price> Moving avg [time frame M30] -> buy

    If anyone has any idea how to code that it would be so niiiiice 🙂

    Thanks

    #37197 quote
    AutoStrategist
    Participant
    Veteran

    I think the best you can do until multi timeframe support comes along is to create an Average that is 30 x the MA period you require.  It is not quite the same thing as it contains all the intermediate values but should be close enough.

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

Trading in M1 and buying confition in M30


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Aymeric @aymeric Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by AutoStrategist
8 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/31/2017
Status: Active
Attachments: No files
Logo Logo
Loading...