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 SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          35 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          13 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          19 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          22 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X