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 Karado58, 11-26-2012, 02:57 PM
                8 responses
                14,826 views
                0 likes
                Last Post Option Whisperer  
                Started by Option Whisperer, Today, 09:05 AM
                0 responses
                1 view
                0 likes
                Last Post Option Whisperer  
                Started by cre8able, Yesterday, 01:16 PM
                3 responses
                11 views
                0 likes
                Last Post cre8able  
                Started by Harry, 05-02-2018, 01:54 PM
                10 responses
                3,204 views
                0 likes
                Last Post tharton3  
                Started by ChartTourist, Today, 08:22 AM
                0 responses
                6 views
                0 likes
                Last Post ChartTourist  
                Working...
                X