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

Accurate back-testing of strategies based on minute data

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

    Accurate back-testing of strategies based on minute data

    Hi, I have noticed that often develop strategies that when backtested, appear to generate returns far, far, far greater than anything I have seen live trading. I use tick data to backtest the strategy, where the strategy is based on bar closed calculations. Is there something i am missing with my backtesting setup? I'd be honest with just a fraction of the projected profit from the backtest, but often see red instead. Is there a way to ensure that strategies, when backtested, are traded through limit orders?

    #2
    Hello Renorail,

    Thanks for your post and welcome to the NinjaTrader forums!

    What we recommend is to review on a trade by trade basis to understand where entry and exits actually occur compared to the strategy logic as first step in understanding the differences.

    There are a number of variables that can certainly influence backtesting results. Here is a link to a help guide page on expected differences: https://ninjatrader.com/support/help...ime_vs_bac.htm

    In general, using the Playback with market replay data, while certainly slower than the strategy analyzer, would provide results like you would receive with live data. Using this tool would give you another way to help analyze the strategy performance. In this regard, analyzing for example a recent 5 day period in the strategy analyzer as well as playback with Market replay data may be helpful in looking at the differences and then investigating further.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by techgetgame, Today, 11:42 PM
    0 responses
    7 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Today, 11:36 PM
    0 responses
    1 view
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,612 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Working...
    X