![]() |
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 |
|
Member
Join Date: May 2008
Posts: 90
Thanks: 1
Thanked 0 times in 0 posts
|
Hi,
Is there a way to enter values during a running strategy that would be variables to the strategy? For instance say I have a Bool "KeepTrading" and it is True is there a simple way to change that to "False" without stopping or reloading the strategy. In a normal program I would allow a user to toggle a radio button or something. How can I control a running strategy. I know I could put a value in a File, DB or something and have the program read the file every bar to see the current value for the var. But that is ugly. Thanks.... MArk |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> For instance say I have a Bool "KeepTrading" and it is True is there a simple way to change that to "False" without stopping or reloading the strategy.
Unfortunately this is not supported.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keep Strategy Running | CashCache | Strategy Development | 14 | 10-02-2008 11:20 PM |
| Strategy not running after connection? | Burga1 | Automated Trading | 32 | 11-23-2007 12:15 PM |
| Running the Strategy Analyzer | jeremymgp | Strategy Analyzer | 11 | 11-20-2007 07:00 PM |
| trouble running a strategy | abikambic | General Programming | 4 | 04-30-2007 12:30 PM |
| Changing Stop/target values in Control Center while Strategy running | zoltran | Miscellaneous Support | 1 | 04-11-2007 02:40 AM |