Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Crashing problem

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

    Crashing problem

    Hey guys ive got this problem with this one strategy it seems to crash a backtest when it runs on the 1 betterrenko type but it works just fine on a 2 betterrenko bar size. Also the backtest for betterrenko works but the optimization also crashes NT. I tried resetting the instruments and even reinstalling NT, deleting the cache also. Any other ideas for what might be causing it?

    Elitetradernyc

    #2
    Hello,

    May we have a screenshot of the error message?

    Is the crashing NinjaTrader or does the script just stop processing?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      hey, it actually does not crash it just freezes the application and hangs for hours, then I have to use the windows task manager to close NT.

      Comment


        #4
        Originally posted by elitetradernyc View Post
        Hey guys ive got this problem with this one strategy it seems to crash a backtest when it runs on the 1 betterrenko type but it works just fine on a 2 betterrenko bar size. Also the backtest for betterrenko works but the optimization also crashes NT. I tried resetting the instruments and even reinstalling NT, deleting the cache also. Any other ideas for what might be causing it?

        Elitetradernyc
        Try printing out the OHLC values of a 1BetterRenko loaded on a chart, and that should tell you why your processing is getting FUBAR.

        By the offset coding of BetterRenko, 1BetterRenko would imply 0.5Ticks, which are obviously impossible. Not having seen the actual BetterRenko code, I can only say that that would most likely cause unpredictable behavior.

        Of course, not having seen the source code, I could be talking out of my hat.

        Comment


          #5
          Hello elitetradernyc,

          It sounds like an endless loop may have been created by setting the size too low.

          Does this issue still occur with only 1 day in between the from and to dates in a backtest or only 1 day in the Days to load if added to a chart?

          If you add a print to OnBarUpdate, does this print show endlessly in the output window?
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by LeroyO, Today, 04:09 PM
          0 responses
          4 views
          0 likes
          Last Post LeroyO
          by LeroyO
           
          Started by sidlercom80, Today, 04:57 AM
          2 responses
          29 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by Tartagliagroup, Today, 02:11 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by rickyblah12, Today, 01:33 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by rcloutier, Today, 01:17 PM
          4 responses
          14 views
          0 likes
          Last Post rcloutier  
          Working...
          X