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

Ninja seems to crash if you press F5 while reloading data

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

    Ninja seems to crash if you press F5 while reloading data

    Hi,

    Scenario 1
    1. I open a 15 tick DAX chart
    2. I click "reload historical data"
    3. While data reloading, I keep typing F5, about 2 times per second.

    => result OK

    Scenario 2
    1. I open a 15 tick DAX chart
    2. I add any indicator (example SMA)
    3. I click "reload historical data"
    4. While data reloading, I keep typing F5, about 2 times per second.

    => result Ninja crash

    trace :
    2012-04-05 14:24:01:339 in OnUnhandledApplicationException
    2012-04-05 14:24:01:342 *************** unhandled exception trapped ***************
    2012-04-05 14:24:01:343 L'index se trouve en dehors des limites du tableau.
    2012-04-05 14:24:01:343 System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau.
    à NinjaTrader.Gui.Chart.ChartControl.ApplyIndicators Strategies()
    à NinjaTrader.Gui.Chart.ChartControl.OnMenuItem(Obje ct sender, EventArgs e)
    à NinjaTrader.Gui.Chart.ChartControl.HotKey(Keys keys)
    à NinjaTrader.Gui.Chart.ChartForm.HotKey(Keys keys)
    à NinjaTrader.Data.HotKeyMessageFilter.PreFilterMess age(Message& m)
    à System.Windows.Forms.Application.ThreadContext.Pro cessFilters(MSG& msg, Boolean& modified)
    à System.Windows.Forms.Application.ThreadContext.Pre TranslateMessage(MSG& msg)
    à System.Windows.Forms.Application.ThreadContext.Sys tem.Windows.Forms.UnsafeNativeMethods.IMsoComponen t.FPreTranslateMessage(MSG& msg)
    à System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    à System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
    à System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
    à System.Windows.Forms.Application.Run()
    à NinjaTrader.NTMain.Main()

    #2
    Thanks Gomi, could reproduce here - we will look into matters.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks again for the report Gomi to us - development is looking to apply a fix for our next major NT update for this item.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Taddypole, 04-26-2024, 02:47 PM
      5 responses
      31 views
      0 likes
      Last Post eDanny
      by eDanny
       
      Started by kujista, 04-23-2024, 06:23 AM
      6 responses
      44 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by giulyko00, 04-24-2024, 12:03 PM
      7 responses
      32 views
      0 likes
      Last Post eDanny
      by eDanny
       
      Started by NM_eFe, Today, 10:13 AM
      0 responses
      5 views
      0 likes
      Last Post NM_eFe
      by NM_eFe
       
      Started by hdge4u, Yesterday, 12:23 PM
      1 response
      10 views
      0 likes
      Last Post hdge4u
      by hdge4u
       
      Working...
      X