Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Holiday Problem - ES

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

    Holiday Problem - ES

    Hey guys I'm having an issue with my strategies (only forward testing on SIM101 right now). My strategies have suddenly frozen I think because yesterday was a Holiday. The same thing happened on December 26th because Christmas was a holiday and I think its because the previous day contains no data. When I view the chart for ES, all the data seems to be coming in just fine this morning on the Tick BetterRenko chart. I have the program set to do a "Print 4am, ES pice xx.xx" and "Print 8am, ES pice xx.xx", etc just to make sure that its active but this morning those did not occurr. Any idea how to wake it up? My session for ES starts at 3:58 AM.

    Thanks,
    EliteTraderNYC

    #2
    Hello EliteTraderNYC,

    Can you try this on a normal Renko chart to see if the same thing happens?
    JCNinjaTrader Customer Service

    Comment


      #3
      Hi sir, the renko chart works just fine - so does the betterrenko, but its the strategy print statements that have seemed to have frozen which makes me think strategy itself might not be executing but I'm not sure.

      Comment


        #4
        Hello EliteTraderNYC,

        If you set to Strategy to use the "Renko" bar type are you able to see Print statements inside of the Output Window?
        JCNinjaTrader Customer Service

        Comment


          #5
          Hi, i activated two strategies with Renko type bars and no print statements occurred.

          Comment


            #6
            To give you an example of the print statement, its simply something like:

            if((ToTime(Time[0])>080200)&& a4flag == 0)
            {
            Print("8am check strategy long side working + Time[0]);
            a4flag = 1;
            }

            Comment


              #7
              Hey guys I also tried reloading the data and reactivating the strategies, but that did not help the situation. Any other ideas?

              Comment


                #8
                Hello EliteTraderNYC,

                Are you checking your "a4flag" to see if it is 0 as you would expect?

                Alternatively you may want to separate out your conditions as I able to get a strategy to Print using "if(ToTime(Time[0])>080200)" for a check. For example:

                Code:
                if(ToTime(Time[0])>080200)
                {
                       Print("Its past 8am and a4flag equals "+a4flag);
                       if(a4flag == 0)
                       {
                               Print("8am check strategy long side working + Time[0]);
                               a4flag = 1;
                        }
                }
                So this way you can see if your strategy is being processed or if the "a4flag" is not returning what you would expect.
                JCNinjaTrader Customer Service

                Comment


                  #9
                  Ha! Thanks thats it, the markets opened at 6am today, not 4AM as usual. Got it.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by CarlTrading, 03-31-2026, 09:41 PM
                  1 response
                  149 views
                  1 like
                  Last Post NinjaTrader_ChelseaB  
                  Started by CarlTrading, 04-01-2026, 02:41 AM
                  0 responses
                  84 views
                  1 like
                  Last Post CarlTrading  
                  Started by CaptainJack, 03-31-2026, 11:44 PM
                  0 responses
                  129 views
                  2 likes
                  Last Post CaptainJack  
                  Started by CarlTrading, 03-30-2026, 11:51 AM
                  0 responses
                  125 views
                  1 like
                  Last Post CarlTrading  
                  Started by CarlTrading, 03-30-2026, 11:48 AM
                  0 responses
                  102 views
                  0 likes
                  Last Post CarlTrading  
                  Working...
                  X