Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleMACrossOver Backtest won't work

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

    SampleMACrossOver Backtest won't work

    Longtime fan of NinjaTrader here. I recently got back on the platform after taking a break for a few years and i'm having trouble with the simplest thing possible(!!!).

    I made a quick strategy to test and it didn't produce anything on the Summary page, the Start Date and End Date are the exact same (4/13/06-4/13/06)(???), even though I stipulated the Time frame to be 5/1/15 - 3/2/16.

    I changed the strategy to SampleMACrossOver to see if that would work and it didn't either. See the screenshot for what it looks like.

    I've downloaded the daily data for SPY since 03/03/2006 so my data source shouldn't be a problem either. I've also tested this on APPL and no luck.

    Exit on close = True (for these backtests).

    Any thoughts on where i'm going wrong? I'm feeling like a n00b
    Attached Files
    Last edited by cmspruill; 03-03-2016, 04:26 PM.

    #2
    After fiddling some more I got it working. Somehow the instrument selected was NQ 03-16 but I was trying to backtest using SPY as the symbol. Not sure how this was occurring, but it did allow me to finally run a successful backtest!

    Sorry for the thread!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    51 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    142 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    275 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X