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 hdge4u, 04-29-2024, 12:23 PM
    5 responses
    28 views
    0 likes
    Last Post MisterTee  
    Started by llanqui, 01-25-2024, 06:15 PM
    9 responses
    64 views
    0 likes
    Last Post MisterTee  
    Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
    16 responses
    63 views
    0 likes
    Last Post tradingnasdaqprueba  
    Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
    55 responses
    5,458 views
    0 likes
    Last Post BartMan
    by BartMan
     
    Started by DawnTreader, 05-08-2024, 05:58 PM
    16 responses
    52 views
    0 likes
    Last Post DawnTreader  
    Working...
    X