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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      84 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      46 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      66 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      69 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      58 views
      0 likes
      Last Post CarlTrading  
      Working...
      X