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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      65 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      149 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      99 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      286 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X