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 Hwop38, 05-04-2026, 07:02 PM
                  0 responses
                  160 views
                  0 likes
                  Last Post Hwop38
                  by Hwop38
                   
                  Started by CaptainJack, 04-24-2026, 11:07 PM
                  0 responses
                  307 views
                  0 likes
                  Last Post CaptainJack  
                  Started by Mindset, 04-21-2026, 06:46 AM
                  0 responses
                  245 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by M4ndoo, 04-20-2026, 05:21 PM
                  0 responses
                  348 views
                  0 likes
                  Last Post M4ndoo
                  by M4ndoo
                   
                  Started by M4ndoo, 04-19-2026, 05:54 PM
                  0 responses
                  178 views
                  0 likes
                  Last Post M4ndoo
                  by M4ndoo
                   
                  Working...
                  X