Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error: Object reference not set to an instance of an object

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

    Error: Object reference not set to an instance of an object

    Hi,

    I have an indicator that is having problems periodically. The error message I am receiving in the log is as follows;

    Error on plotting values to chart data box for indicator 'Combo'. Please check the 'OnBarUpdate' method: Object reference not set to an instance of an object.

    I'm not entirely sure what could be causing the problem but I have tried various methods as suggested online with regards to checking current bars as well as try/catch but when the error occurs the plots dissapear from the chart until I reload the indicator where it may or may not dissapear again.

    Appreciate the help.

    #2
    suprsnipes, is this behavior reproducible for you consistently or would it just occur every now and then? Do you use the .Reset() method in your custom script? Would you mind if we attempted reproducing with your script and workspace on our end here?

    Thanks,

    Comment

    Latest Posts

    Collapse

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