Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer only run on a few days?

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

    Strategy Analyzer only run on a few days?

    Hi All,

    I'm looking to test a strategy on the 1m chart for stock (e.g. UBER) and I've connected NT to TDA for data feed.
    When I run the analyzer and select start date 01/01/2020 and end date of yesterday (07/19/2020), I can see that the first trade was in 1/2/2020 and the last in 1/21/2020. If I switch to the display/chart I can see data from 01/01/2020 all the way to 07/19/2020.. yet, no trades past 1/21/2020. Why is that?

    #2
    Hello darkgreen,

    If the data is available and the expected orders are not appearing, this would likely indicate the logic conditions did not evaluate as true or orders are being ignored or cancelled.

    In order to better understand how the code is working, it will be necessary to use Print and enable TraceOrders to see how the conditions are evaluating and if orders are being submitted, ignored, or cancelled.

    Below is a link to a forum post that demonstrates using prints to understand behavior.


    Enable TraceOrders, print the time of the bar and all values used in the conditions that submit entry orders.

    Let me know if you need any assistance creating a print or enabling TraceOrders.

    Save the output from the output window to a text file and provide this with your next post.

    I'll be happy to assist with analyzing the output.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    12 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    14 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X