![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2010
Posts: 415
Thanks: 1
Thanked 4 times in 4 posts
|
I've run a backtest on a strategy and saved properties as Default. Now they are always that way when I run the strategy live even if I change the code. How do I reset the strategy so the compiled code is what I'm running?
Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hi Ken,
The defaults for strategies are stored here: My Documents\NinjaTrader 7\templates\strategy\strategyName.xml. With NinjaTrader closed you can manually delete the xml file from that location. You can also update the settings when you run the strategy and then save new defaults.
Ryan M
NinjaTrader Customer Service
Last edited by NinjaTrader_RyanM; 01-05-2011 at 10:54 AM.
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2010
Posts: 415
Thanks: 1
Thanked 4 times in 4 posts
|
Just a thought, how about a "Set As Default" button and a "Reset" button?
Thanks |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Thank you for the suggestions, Ken.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Resetting Variables | richp6 | Strategy Development | 4 | 12-30-2010 09:10 AM |
| Resetting Entries Per Direction | rogueTrader | Automated Trading | 3 | 11-05-2010 10:36 AM |
| Resetting Sim101 | cgeorgan | Version 7 Beta General Questions & Bug Reports | 1 | 08-11-2010 09:10 AM |
| Resetting a variable | trader413 | Strategy Development | 8 | 09-14-2009 10:12 AM |
| resetting indicators | dirtybrown | Indicator Development | 9 | 06-01-2009 02:06 PM |