Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to Backtest?

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

    How to Backtest?

    Hi there, I'm having the issue of my back testing results, not matching my real-time results. I've read the Help on this issue, such as:



    and it's helpful, but incomplete. I understand nothing can exactly mimic the real-time environment, but if I'm testing by a tick-by-tick replay, is that as close as I can get to mimicking real-time? Or, is there something else I can do to increase the quality of my tick-by-tick replay testing? For instance, does the replay speed matter?

    Thanks.
    Last edited by timmbbo; 09-19-2017, 05:46 PM.

    #2
    Hello Timmbbo,

    Thank you for your note.

    Replay speed will have no impact on results.

    Please the following reference sample on Backtesting NinjaScript Strategies with an intrabar granularity,
    You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by


    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Rogers101, 05-05-2024, 11:30 AM
    3 responses
    21 views
    0 likes
    Last Post Rogers101  
    Started by nightstalker, 05-04-2024, 02:05 PM
    5 responses
    53 views
    1 like
    Last Post nightstalker  
    Started by MSerag, Yesterday, 11:52 PM
    0 responses
    11 views
    0 likes
    Last Post MSerag
    by MSerag
     
    Started by DynamicTest, Yesterday, 11:18 PM
    0 responses
    3 views
    0 likes
    Last Post DynamicTest  
    Started by dcriador, Yesterday, 01:43 AM
    3 responses
    22 views
    0 likes
    Last Post dcriador  
    Working...
    X