• 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

How to find programming errors

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

    How to find programming errors

    Hi all, sure this has been asked before but I can't find the answer.

    Have updated recently from XP to Win 7 (clean install) and from NTver 7.-----7 to 7.----8.

    Have been using NT fine but have (today) tried to import an indicator file from this site. Getting the usual programming error message but nothing is telling me where the error is. Nothing in the log and as far as I can tell everything has been working fine since the changes.

    Have loads of strategies / indicators in differing stages of completion and these are used for referencing previous coding if their not actually used so deleting them is not an option.
    Have moved all non NT indicators from the 'bin\ custom\ Indicator ...' file to a folder on my desktop but still can't find the 'error'.

    Any suggestions please;

    Ben.


    Edited

    Have constructed a new indicator and compiled it to find the indicator / strategy with the error. Hope this is the only problem - Thanks

    Ben
    Last edited by stocktraderbmp; 02-03-2012, 02:54 PM. Reason: Have found solution I think.

    #2
    Hello stocktraderbmp,

    Thank you for your post.

    Please follow the instructions below to see where the errors are coming from after compiling any indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.
    • Open NinjaTrader
    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    • Select an indicator and double click on it.
    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    • At the bottom of the window a new section will appear where you can find the error locations.
    • From there you have the option to remove the indicator or debug it.

    If you are unsure as to what the error is indicating, please respond with a screenshot of the error with the name and description fields clearly readable.

    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and attach the file to your response.

    Please let me know if I may be of further assistance.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your time but I had resolved the issue as per my edited remarks in RED at the bottom of my original post.

      Sorry for the inconvenience, have a nice w'end.

      Ben.

      Comment


        #4
        Hi Ben,

        Please:
        • Open NinjaTrader
        • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
        • Select an indicator and double click on it.
        • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
        • At the bottom of the window a new section will appear where you can find the error locations.


        Please respond with a screenshot of the error with the name and description fields clearly readable.

        To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and attach the file to your response.
        KyleNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Kyle View Post
          Hi Ben,

          Please:
          • Open NinjaTrader
          • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
          • Select an indicator and double click on it.
          • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
          • At the bottom of the window a new section will appear where you can find the error locations.


          Please respond with a screenshot of the error with the name and description fields clearly readable.

          To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and attach the file to your response.
          Hi Kyle;
          Thanks for your reply but this issue was resolved 2 or 3 days ago. Please read the post again noting the RED EDITED text at the end of the post and Patrick-H's subsequent reply.

          Thanks again for the excellent and patient work you guys do keeping us going forward.

          Ben.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Wolf1, Today, 08:26 PM
          0 responses
          3 views
          0 likes
          Last Post Wolf1
          by Wolf1
           
          Started by pparmley, Today, 04:30 PM
          0 responses
          8 views
          0 likes
          Last Post pparmley  
          Started by tonynt, Today, 04:21 PM
          0 responses
          4 views
          0 likes
          Last Post tonynt
          by tonynt
           
          Started by williamzz, Today, 03:44 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Miguel_88, Yesterday, 06:41 PM
          2 responses
          26 views
          0 likes
          Last Post Miguel_88  
          Working...
          X