Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Object reference not set to an instance of an object.

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

    Object reference not set to an instance of an object.

    I am getting an error:
    Category: Default
    Message: Indicator '<name of indicator that is not assigned to a chart>' : Error on calling 'OnStateChange' method: Object reference not set to an instance of an object.

    This error comes up once I assign attached indicator (I have few others that do that) to two chart windows. When assigned to just one, the error does not seem to come up. Once I have it on two charts - above error will print every time scripts refresh, sometimes the chart window will stop responding requiring end-task nt8 (application is functional but will not exit).

    I am using NT8 8.1.3.0 64-bit
    Attached Files

    #2
    Hello MiCe1999,


    Thank you for posting on the NinjaTrader forums.


    This error message message is typically associated with third party add-ons. Please consult with your vendor for further assistance on this. Safe to say that if there's an update to the add-on's script, you'll want to make sure to upload this versus the older version of NinjaTrader.


    Please let us know if there's anything else we can assist with.

    Comment


      #3
      Originally posted by NinjaTrader_LuisH View Post
      Hello MiCe1999,


      Thank you for posting on the NinjaTrader forums.


      This error message message is typically associated with third party add-ons. Please consult with your vendor for further assistance on this. Safe to say that if there's an update to the add-on's script, you'll want to make sure to upload this versus the older version of NinjaTrader.


      Please let us know if there's anything else we can assist with.
      I hope you can take a look at the addon - it's very simple - and let me know what the issue is. I've programmed an indicator similar to it and I also have the same problem so hopefully you can help me figure out what's missing.

      EDIT: I realize I should be posting this in Indicator Dev - I'll post it there.
      Last edited by MiCe1999; 06-03-2024, 10:35 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      155 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      307 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      345 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      176 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X