• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

debugging

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

    debugging

    I have an indicator i need debugging, I have debugged many indicator but I need a better way for find why it locks NT8. Is there a way to isolate the bug?

    #2
    Hello ballboy11,

    Thank you for your note.

    Your best bet would be debugging in visual studio,
    https://ninjatrader.com/support/help..._debugging.htm

    Adding prints throughout the script could be helpful, for example Print("Getting to line 55"); etc. Then you check the output window for the last line before the exception. I’ve provided a link to a youtube video which covers an example of using prints to understand behavior:
    https://www.youtube.com/watch?v=K8v_...tu.be&t=48m45s

    I may also suggest adding try catchs to your script, see,
    https://www.dotnetperls.com/catch

    I’ve provided a link covering debugging which you may find helpful.
    Debugging: http://ninjatrader.com/support/forum...ead.php?t=3418

    If you’d like I could have someone from our business development team pass over a list of third party developers that you could contact about debugging your code.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by vpzdcv, Today, 02:31 AM
    0 responses
    7 views
    0 likes
    Last Post vpzdcv
    by vpzdcv
     
    Started by YevhenShynkarenko, Today, 01:22 AM
    0 responses
    12 views
    0 likes
    Last Post YevhenShynkarenko  
    Started by ttodua, Today, 12:52 AM
    0 responses
    6 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Started by ttodua, Today, 12:50 AM
    0 responses
    5 views
    0 likes
    Last Post ttodua
    by ttodua
     
    Started by mulshah, Yesterday, 11:12 PM
    0 responses
    6 views
    0 likes
    Last Post mulshah
    by mulshah
     
    Working...
    X