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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      60 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      39 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      21 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      23 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      51 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X