Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Debugging from Strategy Analyzer

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

    Debugging from Strategy Analyzer

    Hi,

    I`m developing a strategy and when performing the Strategy Analyzer it`s not working properly. I`m trying to debug following the instruction (https://ninjatrader.com/support/help..._debugging.htm), but when I start the Strategy Analyzer, I have a breakpoint on OnBarUpdate() but it is not called to debug. Is there some restriction or any tip to debug from the analyzer?

    Thank you in advance.

    #2
    Hi gmeirelles, thanks for your question.

    I am able to use a Visual Studio in both a chart and through the Strategy Analyzer. Were you able to get a break point working from just a chart to test? Also, make sure you have turned on Debug mode from the NinjaScript editor and attached Visual Studio to the NinjaTrader process before running the code.

    I look forward to hearing of your results.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    71 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    41 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    109 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    188 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    171 views
    0 likes
    Last Post CarlTrading  
    Working...
    X