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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      52 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      24 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      24 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X