• 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 Nat11, Today, 04:30 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Option Whisperer, Yesterday, 11:50 AM
    2 responses
    10 views
    0 likes
    Last Post Option Whisperer  
    Started by TraderJim618, Yesterday, 01:20 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by drpapp, 01-24-2019, 06:57 AM
    6 responses
    75 views
    1 like
    Last Post brucerobinson  
    Started by ttodua, 12-06-2019, 11:40 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X