Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Loosing data on Strategy Analyzer log entries.

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

    Loosing data on Strategy Analyzer log entries.

    I'm trying to run my strategy through the Strategy Analyzer. I want to be able to compare prior runs, but in the log, the results seem to get corrupted. As soon as I run the strategy again, the # of trades and Total net profit go to zero. If I run the same setup twice and go back to the prior run, it looks totally different. Is it time to re-install NT8? I've tried deleting the cache, tick, day, and minute folders and that doesn't seem to help. I've tried with and without tick replay and different timeframes. Same result.

    Last edited by d3whiteley; 11-17-2023, 07:06 AM.

    #2
    Hello d3whiteley,

    Are you able to reproduce this with the SampleMACrossover included with NinjaTrader?

    Are you connected to a data feed when re-running the test?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Yes, I am connected to my usual data feed while running. I also ran the Sampe MA Crossover, and it works ok, so it is something in my strategy code. I did some testing. I was wondering if it may be my using the Draw functions for ArrowUp, ArrowDown, and DrawText so I removed that code, and it started working. Put it back in and started removing smaller pieces to track it down and ended up with it all removed again but still not working.

      Comment


        #4
        Hello d3whiteley,

        In general we recommend avoiding drawing objects when backtesting by checking IsInStrategyAnalyzer.
        Hi there, I recently noticed that there may be an issue with memory allocation when running back testing. I noticed that the memory utilisation of my windows


        If you comment out all logic, variables, and properties, then copy the simple crossover logic and retest and try the log are you still able to reproduce?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        46 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X