![]() |
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2008
Posts: 271
Thanks: 4
Thanked 7 times in 7 posts
|
I imported a package written by someone else, and it consists of multiple user-defined-methods strategy files. Now I want to remove them but I can't. If I try to remove one of them, I get an error message "'xxxx.cs' can't be deleted. It is referenced by 'yyyy.cs'. Please remove this dependency before deleting the file.
Is there an easier way to do this than to individually comment out the contents of all 8 scripts and then delete them? -Alex |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 1,866
Thanks: 128
Thanked 211 times in 205 posts
|
Hello Alex,
Thank you for your post. You can remove the NinjaScript files manually if you wish.
Patrick H.
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2008
Posts: 271
Thanks: 4
Thanked 7 times in 7 posts
|
Thanks that worked. I was about to try that myself but I wasn't sure if manually deleting the .cs files would damage anything.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 1,866
Thanks: 128
Thanked 211 times in 205 posts
|
Hello Alex,
You can run into items when you delete the .CS files with @ symbols in the name, these are NinjaTrader preloaded indicators and must not be deleted. Please let me know if I may be of further assistance.
Patrick H.
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing all custom strategies | Trader.Jon | General Programming | 1 | 03-12-2011 10:44 AM |
| Enable/Disable Global Cross Hair CursorFor Multiple Windows | tickleboy | Charting | 1 | 03-05-2011 02:54 PM |
| Removing horizontal lines, without removing indicator | jokujoku | General Programming | 2 | 11-17-2010 02:32 PM |
| Removing Indicators and Strategies | kenb2004 | Strategy Development | 1 | 09-30-2010 08:11 AM |
| Cross hair lines remain on chart after removing mouse | Pip Ventures | Charting | 1 | 09-12-2008 11:37 AM |