• 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 Bionian, Today, 02:47 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by RickB60, Today, 01:55 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by filopearson, Today, 01:18 PM
    6 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kujista, Today, 12:28 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by mroberts_nos, Today, 11:47 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X