![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: May 2008
Posts: 77
Thanks: 0
Thanked 1 time in 1 post
|
Hello fellow traders,
if I try to import a ninja script I get the message that there is a script that contains programming errors. How can I find out which one it is and how can I eleminate it? Thany you for an answer Regards Carl |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Nov 2009
Location: Denver, CO
Posts: 1,424
Thanks: 0
Thanked 3 times in 3 posts
|
Hi joker23,
The error indicates your current NinjaScript files contain errors, which need to resolved first before you can import new NinjaScript files. Please follow the instructions below to see where the errors are coming from after compiling any indicator or strategy. This will allow you to debug the indicator/ strategy or remove it from your PC. If you’re wondering why you receive an error when compiling only one indicator or strategy, it is because NinjaTrader compiles all indicators and strategies. Not just one. 1) Open NinjaTrader 2) From the Control Center -> Tools -> Edit NinjaScript -> Indicator 3) Select an indicator and double click on it. 4) A new window will appear and you will need to right click and compile the indicator. 5) At the bottom of the window a new section will appear were you can find the error locations. Double click the error and you will be directed to the location of the error. 6) From there you have the option to remove the indicator or debug it. You can delete NinjaScript files via Tools-->Edit NinjaScript-->Indicator/Strategy, highlight it and select Delete You can find general debug information at the link below. http://www.ninjatrader-support2.com/...ead.php?t=3418 In addition, you can try the following workaround as well. Note that you will lose all custom and third party NinjaScript files. Create a backup file with 'NinjaScript files' unchecked. http://www.ninjatrader-support.com/H...ABackupArchive Uninstall NinjaTrader via the Windows Control Panel-->Add/Remove Programs (XP), Programs and Features (Vista). Delete the My Documents-->NinjaTrader 6.5 folder. Do not delete the NinjaTrader backup folder. Clear your browser cache and download and install NinjaTrader 6.5 at the link below. http://www.ninjatrader.com/webnew/download_download.htm Restore your settings and you should be able to import new NinjaScript files again.
Tim
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2008
Posts: 77
Thanks: 0
Thanked 1 time in 1 post
|
Thanks a lot for helping me so quickly. If its a matter of interest for you, my homepage is:
www.thetradewarrior.de Carl |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing a custom indicator with programming errors | GoldStandard | Miscellaneous Support | 6 | 05-24-2010 03:41 AM |
| programming help | katiewc | General Programming | 12 | 02-05-2010 04:35 PM |
| Programming errors cant do anything | Mike_32 | Miscellaneous Support | 4 | 10-26-2009 02:33 AM |
| Programming help | kipper | General Programming | 3 | 12-14-2008 12:12 AM |
| How do I resolve NinjaScript Programming Errors? | NinjaTrader_Ray | Tips | 0 | 12-24-2007 08:46 AM |