Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit On Close - Includes Trace Exception

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

    Exit On Close - Includes Trace Exception

    I was running a simple test. Was short 5 into the close on Market Replay.

    When it came to the 3:15CST time, NT threw an error and this is the trace.

    Basic Strategy, similar to MA Cross. If you are not aware of this issue/error, I will take the time to isolate outside of my code using MA strat.


    2010-03-10 17:59:50:140 in OnUnhandledThreadException
    2010-03-10 17:59:50:202 ********* exception trapped *********
    2010-03-10 17:59:50:202 Object reference not set to an instance of an object.
    2010-03-10 17:59:50:202 at NinjaTrader.Cbi.Position.Close(String signalName)
    at NinjaTrader.Strategy.StrategyBase.EventuallyExitOn Close()
    at NinjaTrader.Cbi.Connection.OnTimerTick(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    #2
    r2kTrader,

    Some isolation will be required. Thank you for your efforts.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    597 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X