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 cmoran13, 04-16-2026, 01:02 PM
          0 responses
          43 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          25 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          163 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          98 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          158 views
          2 likes
          Last Post CaptainJack  
          Working...
          X