Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Live order delay of 1h

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Live order delay of 1h

    Hello,

    I have encountered some problems regarding my strategy in a live scenario. Backtesting my strategy in the strategy analyzer and Sim101 account yielded good results, but live the entry and exit times were off by multiple minutes. In one case, the order delay was so high that the strategy ordered an exit at 8:35, but the account exited at 9:30.
    Click image for larger version

Name:	image.png
Views:	181
Size:	1.9 KB
ID:	1271013

    I am using a Heiken Ashi based strategy which traded more frequently in the backtest results.

    Click image for larger version

Name:	image.png
Views:	111
Size:	109.3 KB
ID:	1271014

    The Ninjatrader Desktop version is up-to-date, and the strategy doesn't take a lot of time to execute.​
    ​​
    Normally, an order delay of a few seconds or even minutes should be fine, but order delays of up to an hour are too much.
    What's causing this issue, and how do I avoid it?

    #2
    Hello DennisPSDJ,

    Thanks for your post.

    Please review the help guide document on the differences on real-time vs backtest (historical).


    And, review this forum thread for more information on the differences between real-time vs backtests: https://ninjatrader.com/support/forum/forum/ninjatrader-8/strategy-development/100192-comparing-real-time-historical-and-replay-performance?t=102504

    HeikenAshi bars alter the OHLC values of the data series to use the HeikenAshi moving average values. Since these are not real prices, it would be best to consider testing with the Playback Connection and Market Repaly data instead of the Strategy Analyzer to fully simulate standard Heiken Ashi bars with accurate reversals and order fills, or to use a HeikenAshi indicator from the Ecosystem User App Share linked below.

    Heiken Ashi indicator: https://ninjatraderecosystem.com/use...heiken-ashi-8/

    That said, in regard to the order delay, please write in to support[at]ninjatrader[dot]com and send us your Log and Trace files so we may investigate further. In the subject of your email include ATTN: BrandonH and in the body of the email include a link to this forum post.

    Follow the steps below to manually attach your log and trace files to your email so I may investigate this matter further.
    • Open your NinjaTrader folder under, "Documents" (sometimes called, "My Documents")
    • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to this email.
    • Once complete, you can delete these compressed folders.
    I look forward to assisting further.​

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    43 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    48 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X