NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 03-12-2011, 09:03 AM   #1
Trader.Jon
Senior Member
 
Join Date: Dec 2008
Posts: 338
Thanks: 0
Thanked 0 times in 0 posts
Default Removing all custom strategies

I am trying to do some debugging and I need to remove all the strategies in NT7.../bin/Custom/Strategy
folder and temporarily move them to
NT7 ... /bin/Custom/Strategy/LockHold
so I can exclusively work on 1 strategy to make sure no other strategy has any input in the Strategy Analyzer or the Output prints.

Moving them manually, and then restart NT7 == gives me a compile error listing all the indicators and the reference is to '_indicator' line in every indicator, 'does not exist in current context'. I had not touched the Indicator folder at all.

I have no 3rd party strategies. NT7R1 ... I dont plan to upgrade NT7 or Win7 at this time, due to issues I have seen posted about versions newer than this beta.

Do I have to delete each strategy manually within NT7?

Hope not!
Jon
Last edited by Trader.Jon; 03-12-2011 at 09:22 AM.
Trader.Jon is offline  
Reply With Quote
Old 03-12-2011, 10:44 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thanks for the forum post.

You need to atleast have @Strategy.cs in the strategies folder to allow NinjaTrader to compile. Please move back this one file. This is a DoNotChange or DoNotMove file.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Indicators and Strategies kenb2004 Strategy Development 1 09-30-2010 08:11 AM
removing a custom indicator with programming errors GoldStandard Miscellaneous Support 6 05-24-2010 03:41 AM
Removing old custom dll files PatientTrader Miscellaneous Support 3 03-08-2010 09:17 AM
Removing Custom BarCharts RJay Miscellaneous Support 4 05-29-2009 04:36 PM
Indicator: Removing and Custom Formatting an Indicator’s Chart Label NinjaTrader_Josh Reference Samples 0 12-30-2007 06:49 PM


All times are GMT -6. The time now is 03:12 AM.