Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick-Timer Error?

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

    Tick-Timer Error?

    Starting my strategy causes the following entry into the trace file

    2010-01-15 19:02:57:437 Strategy.StrategyBase.Sync2Live: nextExitOnClose=15.01.2010 21:59:30
    2010-01-15 19:02:57:515 in OnUnhandledThreadException
    2010-01-15 19:02:57:515 ********* exception trapped *********
    2010-01-15 19:02:57:515 Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
    Parametername: index
    2010-01-15 19:02:57:515 bei System.Collections.ArrayList.get_Item(Int32 index)
    bei NinjaTrader.Data.DataSeries.get_Item(Int32 barsAgo)
    bei NinjaTrader.Indicator.DataSeriesHelper.get_Item(In t32 barsAgo)
    bei NinjaTrader.Indicator.IndicatorBase.Update(Int32 index)
    bei NinjaTrader.Indicator.IndicatorBase.Process(Object sender, BarUpdateEventArgs e)
    bei NinjaTrader.Data.BarUpdateEventHandler.Invoke(Obje ct sender, BarUpdateEventArgs e)
    bei NinjaTrader.Data.MarketDataEventArgs.Process()
    bei NinjaTrader.Cbi.Connection.OnRealtimeDataTimerTick (Object sender, EventArgs e)
    bei System.Windows.Forms.Timer.OnTick(EventArgs e)
    bei System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2010-01-15 19:03:19:296 in OnUnhandledThreadException
    2010-01-15 19:03:19:296 ********* exception trapped *********
    2010-01-15 19:03:19:296 Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
    Parametername: index
    2010-01-15 19:03:19:296 bei System.Collections.ArrayList.get_Item(Int32 index)
    bei NinjaTrader.Data.DataSeries.get_Item(Int32 barsAgo)
    bei NinjaTrader.Indicator.DataSeriesHelper.get_Item(In t32 barsAgo)
    bei NinjaTrader.Indicator.IndicatorBase.Update(Int32 index)
    bei NinjaTrader.Indicator.IndicatorBase.Process(Object sender, BarUpdateEventArgs e)
    bei NinjaTrader.Data.BarUpdateEventHandler.Invoke(Obje ct sender, BarUpdateEventArgs e)
    bei NinjaTrader.Data.MarketDataEventArgs.Process()
    bei NinjaTrader.Cbi.Connection.OnRealtimeDataTimerTick (Object sender, EventArgs e)
    bei System.Windows.Forms.Timer.OnTick(EventArgs e)
    bei System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



    does anybody know where this could come from - I'm not able to debug it. Seems to be somewhere in the realtime timer.
    Last edited by TheChingachgook; 01-15-2010, 12:15 PM.

    #2
    Hmm .. do you have a simple as possible scenario to debug? Thanks

    Comment


      #3
      unfortunately not - I have the bad impression that this is going to be more complex.

      I have quite a complex workspace with several linked charts in different time frames and different market analyzer - and after a certain time working with it I got this errors and some of the linked charts didn't get loaded anymore.

      Closing the application and open it again caused the problem, that none of the charts and also the market analyzer didn't get loaded anymore.

      After closing all graphical components, saving it to an empty workspace, closing the app, open it again, open and configuring all the charts from the scratch it now works again. So in the moment it is not reproducible ....

      as soon as I find out more I'll gonna come back on this issue...

      Comment


        #4
        Thanks for reporting back.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        621 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        567 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X