Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with an error message

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

    Help with an error message

    I have come up against an error message in the log, when back testing a strategy, that I can't seem to fathom out at the moment. I think it might be something to do with the quality of the price data but can't track it down. The message is:

    6/7/2009 2:51:18 PM Default Error on calling the 'OnBarUpdate' method for indicator 'TSSuperTrend' on bar 1811: Object reference not set to an instance of an object.

    Can anyone decipher what the last part of the message might mean " Object reference not set...."?

    Thanks in advance.

    #2
    laparker, thanks for the post - this is connected to the indicator you use -

    -->> 'OnBarUpdate' method for indicator 'TSSuperTrend'

    You would need to debug it to check why it throws this error on being applied to your chart. Print statements are helpful in this process - http://www.ninjatrader-support2.com/...ead.php?t=3418

    Comment


      #3
      got it! - I was passing, as the 1st parameter, Close. Stripped it out and it works like a beaut.

      Thanks

      Comment

      Latest Posts

      Collapse

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