Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Ninja Memory goes sky high and goes bang on Strategy add

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

    Ninja Memory goes sky high and goes bang on Strategy add

    I have a fairly simple strategy which is basically an indicator. It just paints an up or down arrow on the chart. Base memory is 270,696k with all my charts up and connected. However it climbs rapidly when I add the simply strategy to the chart. When I add it to a third time frame it goes past 1.4 gig and goes bang.

    Do the Jurik indicators cause some high usage of memory?

    #2
    probably a stupid question, but are you running into any infinite loops?
    mrlogik
    NinjaTrader Ecosystem Vendor - Purelogik Trading

    Comment


      #3
      There is 2 if statements and that is the only logic. There is && on the if's. Don't think I got a loop issue.

      Comment


        #4
        For a test I would replace the Jurik indicators with some simple moving average and see if you have the same results.
        mrlogik
        NinjaTrader Ecosystem Vendor - Purelogik Trading

        Comment


          #5
          What kind of timeframe are you backtesting against? Tick charts chew a ton of memory. There are improvements being made in NT7 in regards to performance.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Skifree, Today, 11:38 PM
          0 responses
          0 views
          0 likes
          Last Post Skifree
          by Skifree
           
          Started by KonAdams, Today, 10:53 PM
          0 responses
          4 views
          0 likes
          Last Post KonAdams  
          Started by JGriff5646, Today, 10:02 PM
          0 responses
          11 views
          0 likes
          Last Post JGriff5646  
          Started by AdamDJ8, Today, 09:18 PM
          0 responses
          5 views
          0 likes
          Last Post AdamDJ8
          by AdamDJ8
           
          Started by knowmad, Today, 03:52 AM
          2 responses
          34 views
          0 likes
          Last Post knowmad
          by knowmad
           
          Working...
          X