Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Debugging Market Analyzer Columns

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

    Debugging Market Analyzer Columns

    Hi NinjaTrader,


    I am able to debug both Indicators and Strategies using Visual Studio but unable to debug Market Analyzer Columns.


    Is there something additional I need to configure to be able to debug a custom Market Analyzer Column using Visual Studio or is it not possible to do so? If I should be able to then I will continue trying as it is possible it is my side.



    Thank you for your time and information on the topic!


    Number1

    #2
    Hello number1,

    Thanks for your inquiry.

    I do not have an issue attaching a debugger and hitting breakpoints in a MarketAnalyzerColumn taking the following steps:
    1. Compile with Debug Mode selected in the NinjaScript Editor
    2. Open Visual Studio from NinjaScript Editor
    3. Attach the debugger to NinjaTrader
    4. Assign a breakpoint in AskPrice MA Column OnMarketData() method
    5. Open Market Analyzer, add Ask Price if it is not added
    6. Add Instrument in Market Analyzer
    7. Breakpoint hit


    For reference, our instructions for using Visual Studio with NinjaTrader can be found here - https://ninjatrader.com/support/help..._debugging.htm

    Please let me know if I can be of further assistance.

    Comment


      #3
      Jim,

      Awesome! I will follow your steps and reply back if unsuccessful. Thanks for highlighting the steps so I can confirm what I am doing.


      I have also found that when things don't behave as expected on custom scripts that "occasionally" I need to clear the NinjaTrader cache folder before starting NT, but this could be something wonky on my computer. Regardless, this should work and I will reply otherwise.



      Have a good weekend!


      Number1

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      649 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      576 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X