Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical

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

    Historical

    I don't understand.

    I had this code working fine:

    protected override void OnBarUpdate()
    {


    if (Historical)
    return;

    From now and I don't know why with the same code it's executing code on historical. Did you have anyu similar issue?

    #2
    guillembm, is this a single or multiseries strategy / script?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Multi-instrument strategy. But it always worked. I'm LOST

      Comment


        #4
        guillembm, as first step please ensure you load enough bars for all series involved so that BarsRequired would be fulfilled.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Increasing the number of bars was enough. I don't understand. Two hours ago with the same number of bars than always I had no problem. What is the explanation?

          Comment


            #6
            Glad to hear, I would tip on a data loading issue for one or more series so the BarsRequired could not be satisfied.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Check here:





              Originally posted by guillembm View Post
              I don't understand.

              I had this code working fine:

              protected override void OnBarUpdate()
              {


              if (Historical)
              return;

              From now and I don't know why with the same code it's executing code on historical. Did you have anyu similar issue?

              Comment


                #8
                Uff! this is an old thread.

                I had to reinstall NT and the error was solved. Could be whatever

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by maybeimnotrader, Today, 05:46 PM
                0 responses
                5 views
                0 likes
                Last Post maybeimnotrader  
                Started by quantismo, Today, 05:13 PM
                0 responses
                6 views
                0 likes
                Last Post quantismo  
                Started by AttiM, 02-14-2024, 05:20 PM
                8 responses
                166 views
                0 likes
                Last Post jeronymite  
                Started by cre8able, Today, 04:22 PM
                0 responses
                8 views
                0 likes
                Last Post cre8able  
                Started by RichStudent, Today, 04:21 PM
                0 responses
                5 views
                0 likes
                Last Post RichStudent  
                Working...
                X