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