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

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 Rapine Heihei, Today, 08:19 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    6 views
    0 likes
    Last Post Rapine Heihei  
    Started by f.saeidi, Today, 08:01 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 07:51 PM
    0 responses
    8 views
    0 likes
    Last Post Rapine Heihei  
    Started by frslvr, 04-11-2024, 07:26 AM
    5 responses
    98 views
    1 like
    Last Post caryc123  
    Working...
    X