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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    62 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    33 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    44 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    58 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    47 views
    0 likes
    Last Post CarlTrading  
    Working...
    X