Probacktest enters too late

Forums ProRealTime English forum ProOrder support Probacktest enters too late

Viewing 3 posts - 1 through 3 (of 3 total)
  • #160056

    Good day,

    When I backtest a system, the market only enters on the next candle open. For example:

    If the price crosses over the high of the previous candle, the system will enter only after that candle has closed which is too late. I need the entry on the same candle breaking the high.

    Some tips would be greatly appreciated.

    Thank you

    #160059

    Use a STOP order rather than a BUY AT MARKET order.

    This sends a pending order at the close of a candle to buy at the high price of the candle. The order lasts one bar.

    https://www.prorealcode.com/documentation/stop-pending/

    https://www.prorealcode.com/documentation/limit/

     

    2 users thanked author for this post.
    #160060

    I will give it a try thank you.  🙂

Viewing 3 posts - 1 through 3 (of 3 total)

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