How to close on current bar..

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

    Hello

    I need help to find a coding example please as I am new to this.

    I have a strategy where I close on a cross over  of two lines. For my strategy, I need to code in, as soon as the cross over happens (as well as having other factors in place), the trade will stop at that point. At the moment it will close at the start of the next 5 minute bar which can mean a jump in price if the indicators happens at the beginning of the 5 minute block.

     

    I notice the drop down box on the simplified creation box is limited to “next bar open” setting…

    Thanks in advance

    #71006 quote
    robertogozzi
    Moderator
    Master

    As of this version of ProOrder it is not possible to work around this problem.

    MTF (multi time frame) is a long-awaited feature still in the works, expected to be relased this year.

    You may want to read https://www.prorealcode.com/topic/betatesting-multitimeframe-support-automatic-trading/.

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

How to close on current bar..


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
dac @dac Participant
Summary

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

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