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 CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          213 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          128 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          146 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          229 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          192 views
          0 likes
          Last Post CarlTrading  
          Working...
          X