Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical issue with NG

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

    Historical issue with NG

    Hello,

    I'm having an issue with an automated NG strategy -- when I run it from Jan of 2009 to present it works fine in backtest, but if I set the start date back as far as Ninja goes, it then only shows trades for 2008, about 27 total. I have absolutely no idea why setting the start date as 2008 as opposed to 2009 would cause it to only test for 2008 and no further, any ideas?

    Regards,

    Andrew

    #2
    Hi Andrew, are there any errors in the NT log tab when you over the 2009 start data range? How does the SampleMACrossover compare to that? Would it work normally? Do you work with any date time filter for the conditions in your script?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Andrew, are there any errors in the NT log tab when you over the 2009 start data range? How does the SampleMACrossover compare to that? Would it work normally? Do you work with any date time filter for the conditions in your script?
      There are no others in the log. I actually have other NG algos that run fine using the same dates, for some reason it's just this one (SampleMA returns other years fine as well). This algo doesn't have any day filters, but it does have a time filter for 4 PM to 7 PM PST (my other algos have similar filters).

      I also noticed that if I put in 2009 till today it only shows trades for 2009-2012....so using a start date prior to 2009 will only give me 2008, and using 2009 for the start date only gives me 2009-2012. Can't figure it out at all.

      Comment


        #4
        Hello Andrew,

        Thank you for your response.

        Is this your own Strategy you developed or a third party?

        Does the strategy utilize any logic to prevent trading after a certain amount of gain or loss (performance management)?

        I look forward to your response.

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello Andrew,

          Thank you for your response.

          Is this your own Strategy you developed or a third party?

          Does the strategy utilize any logic to prevent trading after a certain amount of gain or loss (performance management)?

          I look forward to your response.
          This is a strategy I developed, and there is no logic regarding performance management.

          Regards,

          Andrew

          Comment


            #6
            Thanks Andrew, would then need to be isolated out via debugging. Try to go as simple as possible and comment advanced sections out and focus on getting for example the main conditions to trigger as expected, just printing each affected variable state should be helping understanding why it would not process as you would expect in those times.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by RideMe, 04-07-2024, 04:54 PM
            9 responses
            53 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by businessman1929, Yesterday, 01:28 PM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by Touch-Ups, 04-27-2024, 10:36 AM
            3 responses
            30 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by D Trader, 05-02-2017, 09:12 AM
            21 responses
            4,289 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by leojimenezp, 04-20-2024, 05:49 PM
            3 responses
            38 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X