Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi timeframe backtesting

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

    Multi timeframe backtesting

    Hi,

    I tried to backtest a multitimeframe strategy between 2006 and now, but it doesn't take any trade before 2009 (without reason as all the data is well loaded). I tried to backtest another strategy (Moving average crossover, native in NT8) with the same parameters and it trades before 2009. I checked the code several times but can't figure out the issue, does't it come from the fact that I use two data series with the first strategy and not with the MA cross?

    Found out why : the CQG continuum doesn't provide daily data before 2009... while I have minuts data since 2006. A bit strange

    Thanks,
    Last edited by WalBen; 01-23-2017, 08:10 AM.

    #2
    Hello WalBen,

    Thank you for your note.

    To have backtest run on locally stored data, go to Control Center>Tools>Options and selecting the Market Data category. You’ll then uncheck the box next to “Get Data from Server”. This will force NinjaTrader to use its locally stored cached data and to download data only when that data is not already available.

    After making that change and confirming you have that data locally stored, do you see trades pre 2009?

    If not, what indicator methods are you using as part of your strategy?

    Have you added print statements to check whether your conditions are becoming true? I’ve provided a link to a youtube video which covers an example of using prints to understand behavior:



    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X