Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why do this?

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

    why do this?

    Good morning,
    I put the file in attachment "A and the" B ".
    Same stock, same strategy, different result. Every day, on some Stocks I disable then enable the strategy to have the correct chart. What is the cause of this phenomenon?
    Thank you.
    Hello.
    Roberto
    Attached Files

    #2
    For strategies add TraceOrders = true to your Initialize() method and you can then view valuable output related to strategy submitted orders through Tools > Output window - TraceOrders

    You can then compare the results when you reload the strategy and determine if there are orders that are being ignored.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X