Probacktest enters too late

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #160056 quote
    Stocks008Stocks008
    Participant
    Average

    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 quote
    VonasiVonasi
    Moderator
    Master

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

    buy 1 contract at high stop

    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.

    STOP (pending)

    LIMIT

    Stocks008 and Midlanddave thanked this post
    #160060 quote
    Stocks008Stocks008
    Participant
    Average

    I will give it a try thank you.Ā  šŸ™‚

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTimeā„¢ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Probacktest enters too late


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Stocks008 @jd008 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Stocks008Stocks008
5 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/01/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...