Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsInProgress

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

    BarsInProgress

    I think I have an issue with BarsInProgress.

    I have an indicator applied to a 1 minute chart and I added a second time frame : 50 ticks. (Add(PeriodType.Tick,50)).

    Now I get an Object reference not set to an instance of an Object error..

    I think that it must be because I am really initiating variables with the BarsInProgress = 0 ( which if I am not mistaken is the Chart setup (1 minute) but the BarsInProgress == 1 the 50 ticks period gets run before BarsInProgress == 0.

    Am I on the right track ? if yes how could I solve this problem ?

    Thanks

    Bernard

    #2
    Hello Blarouche,

    Are you using version 6.5 or 7?

    Multiseries in an indicator is not supported in 6.5 and there are known issues with MultiSeries indicators with the latest 7 beta.

    If you're using this with version 6.5 in a strategy:
    You can use Try Catch blocks to capture which line of code is generating the error message.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      No

      I am using NT 7 last beta version. I didn't know it was a NT7 issue.

      I'ii just wait

      Thanks


      Bernard

      Comment


        #4
        Does that problem with multi series has been solved in NT Beta10 ?


        ernard

        Comment


          #5
          This should have been resolved awhile ago.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          590 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          342 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          555 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X