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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X