![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2007
Location: USA, Ohio
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
When I start to run a backup of all the NT files, I get a message saying the NinjaScript files are in a non-compileable state. Do I wish to continue?
I selected "No" because last time I ran a backup I selected "Yes", the next time I started NT I could not use of my strategies or indicators. So I ended up copying the strategies & indicators from an External hard drive backup to the correct Bin folders to recover them & now the strategies & Indicators are accessible & work. However when I try to do a backup, again the message that the files are in a non-compileable state comes up so I chose "No" so I don't lose the strategies and indicators again. When I asked NT custormer support how to get the files back they referred me to the link on how to import a strategy. Any suggestions on how I can find out what is causing the non-compileable status and how to fix it, so I can use the backup function would be greatly appreciated. ![]() Thanks, Rob. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Following is a standard reply but generally is a good walk through, let me know if you are unable to make progress.
http://www.ninjatrader-support.com/v...ead.php?t=4678
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Dec 2007
Location: USA, Ohio
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Ray,
Thanks for the speedy response. Using the link you sent, I found which of my strategies had the coding error & the backup works fine now. Thanks again for a great product & support. Rob |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Dec 2008
Location: Austin, TXs
Posts: 112
Thanks: 10
Thanked 0 times in 0 posts
|
I am unable to backup because my files are in a "non-compileable state." Following the procedure at the link I see that a name is already in use. I tried to delete the strategy that I think may be involved with the conflict but I get a message that it cannot be deleted most likely because other files are referring to it and they must be deleted first as per your step 10 "If another NinjaScript file references a file you wish to delete, open the file that references the file you wish to delete and "comment out" or delete the reference" -- but how do I find that file(s)? I don't know code so please be kind ;-)
|
|
|
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
bkout,
When you open up your NinjaScript Editor and press F5 to compile it will give you a list of errors. Find the file name of the offending script and that is the file to delete. Now close NT and go to Documents\NinjaTrader 6.5\bin\Custom and go to either \Indicators or \Strategies. Find the script and delete that file manually. Now go back to NT and open the Editor and recompile again. You should now get a new list of errors with all the scripts that referenced the file you just deleted. Those need to all be addressed by either commenting out the reference or deleting those files as well.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Dec 2008
Location: Austin, TXs
Posts: 112
Thanks: 10
Thanked 0 times in 0 posts
|
I figured out how to change and save the "public class" description of the strategy that was brought up by clicking on the error message. That seemed to remove the conflict and I was able to run through compile without an error and then to backup without deleting the strategy -- Thanks!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GAIN as a backup? | Burga1 | Connecting | 4 | 06-11-2008 11:41 AM |
| ATM Backup | monpere | Miscellaneous Support | 5 | 05-08-2008 12:33 PM |
| Backup NT6.0 | ashish | Miscellaneous Support | 1 | 03-11-2008 06:53 AM |
| Error on doing Backup | RK_trader | Historical NinjaTrader 6.5 Beta Threads | 5 | 01-25-2008 04:56 AM |
| Exactly what files to backup? | AJNIN | Miscellaneous Support | 3 | 01-24-2008 07:59 AM |