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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      67 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X