Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsRequired and min bars required

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

    #16
    Okay.

    Does that mean that I am doing something wrong here that you can see - as in not passing Bars Required for all series? If so, how do I have the Bars required passed for all series?

    Thanks Bertrand...

    Comment


      #17
      One thing would be ensuring you load enough data so OnBarUpdate() for the strategy can be called as expected, the other : do you load your charts perhaps by BarsToLoad? There are cases with this setting where the added series could unfortunately not be loaded completely. What you can do to ensure this is not the case is adding / loading the series manually and restarting your strategy.

      Comment


        #18
        To be honest - I don't know if I even load it at all. The only code I use is what you have seen. The primary chart, the one I place the strategy in is loaded as mentioned with 3 to 10 days worth of data.

        The Renko chart I add in the Initialize method - well - I just use the Add() command...do I need an additional command to load this data series - or a number of bars in this data series?

        Comment


          #19
          No, under most scenarios the Add() or AddRenko() in your case will load the needed data. However if you're on the mentioned BarsToLoad setting that can be cases where it would not, this is a known limitation at this time on our enhancement lists for the next major NT upgrade.

          Comment


            #20
            In that case - no - I don't use BarsToLoad setting. Any other ideas that might be causing the error?

            Comment


              #21
              Would this still be occurring for you with the Renko series manually charted in?

              Comment


                #22
                Hi there, do you mean manually added to the actual 6E volume based chart as a second panel, as opposed to adding the renko series in the code? Sorry - I am pretty poor on the terminology!

                Comment


                  #23
                  Please have both charts opend, the volume and the Renko one. Then apply your strategy as usual to the Volume chart, would it enable then properly for you?

                  Thanks,

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  666 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  376 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  110 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  575 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  580 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X