How to close on current bar..

Forums ProRealTime English forum ProOrder support How to close on current bar..

Viewing 2 posts - 1 through 2 (of 2 total)
  • #70999
    dac

    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

    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)

Create your free account now and post your request to benefit from the help of the community
Register or Login