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

Debugging

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

    Debugging

    Hi,

    I'm a beginner in C# and just starting to learn how to code in NinjaScript.

    In the NT editor, is there an equivalent to the Locals window in Visual C# Express, where all variable values are updated and displayed as the code runs?

    I'm trying to figure out what's causing my strategy to bug out.

    Thanks.

    #2
    Hi nicbizz, there is no locals windows. You can Print() out your variables and then compare to the expected value - http://www.ninjatrader.com/support/f...ead.php?t=3418. You can also debug with Visual Studio (not Visual Studio Express) - http://www.ninjatrader.com/support/h...isual%2Bstudio,
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Philippe56140, 04-27-2024, 02:35 PM
    7 responses
    56 views
    0 likes
    Last Post kevinenergy  
    Started by arunkumar3, 08-25-2023, 12:40 PM
    3 responses
    169 views
    0 likes
    Last Post Trader2024!  
    Started by DJ888, 04-26-2024, 10:57 PM
    2 responses
    17 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by port119, 04-27-2024, 02:43 PM
    3 responses
    31 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by sastrades, 01-31-2024, 10:19 PM
    13 responses
    204 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X