Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I think i messed up my simulator data?

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

    #16
    this may be related.
    1/24/2008 7:37StrategyError on calling 'OnBarUpdate' method for strategy 'LL': Object reference not set to an instance of an object.

    Comment


      #17
      The problem likely is different. A simple strategy holding only (!) this code line
      Code:
      DrawTextFixed("U1",Math.Round(Position.GetProfitLoss(Close [0] ,PerformanceUnit.Currency)).ToString(),TextPosition.TopRight);
      works no problem.

      I suggest isolating the issue in your strategy further.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      315 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      202 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      187 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      280 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      233 views
      0 likes
      Last Post CarlTrading  
      Working...
      X