Only to execute trade at end of the time period

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

    Good morning

    I am new to programming.  I am trying to backtest strategies and am having a problem with the set up.

    What I am trying to do is to execute a trade at the beginning of a new time period only if at the close of the previous time period the conditions are met. My problem is if during the previous time period the condition is met an order is executed and it doesnt wait to the close.

    Thanks for your time

    #44630 quote
    robertogozzi
    Moderator
    Master

    No, ProOPrder ALWAYS executes strategies at the very close of each candle, just BEFORE a new candle is opened (where a new trade is opened if conditions are met). There is no way to execute a strategy before a candle is closed.

    #44889 quote
    Derek
    Participant
    Veteran

    Well, you can go on a lower timeframe if the signal can be reproduced there.

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

Only to execute trade at end of the time period


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
karljohn @karljohn Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Derek
8 years, 6 months ago.

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