Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error on calling "OnBarUpdate"

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

    error on calling "OnBarUpdate"

    I cant find where is the problem in my code.
    I can´t solve the error:
    Error on calling "OnBarUpdate" method on bar 200: Object reference not set to an instance of an object.
    Attached Files

    #2
    You never set f3 equal to anything, so you can't index into it. You did set f2 twice though - perhaps there be dragons.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      Hello, infinite thanks!!!!
      error found and obvious, I didn´t see that reviewing the code. Now I see f2 set twice and then f3 equal to nothing.
      My headache disapeared suddenly...
      Infinite thanks again!!!
      Jaime from Barcelona.

      Comment

      Latest Posts

      Collapse

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