![]() |
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: Jun 2007
Location: Anguilla
Posts: 140
Thanks: 0
Thanked 0 times in 0 posts
|
Is there a property i can reference to know the name of the strategy that is running?
I want to print the name of the strategy that is running, and not manually type it in. THis was when tracking my results, i know what is coming from each strategy version. e.g. File.AppendAllText(path,ToDay(Time[0]).ToString() +" " + results.ToString(("#0.00"))+" "+ Instrument.FullName + " "+ STRATEGYTHATTHISFUNCTIONISCALLEDFROM+ Environment.NewLine ); Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Unfortunately this is not supported, but maybe you could just try "Name".
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jun 2007
Location: Anguilla
Posts: 140
Thanks: 0
Thanked 0 times in 0 posts
|
thanks that worked.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Account on which a Strategy is running | Jean-Marc-Molina | Strategy Development | 4 | 01-26-2010 12:53 AM |
| Strategy arrows on chart thus no strategy is running | poseidon_sthlm | Strategy Development | 2 | 01-15-2010 10:35 AM |
| Keep Strategy running. | gator-trader | Automated Trading | 3 | 08-29-2009 06:26 PM |
| Keep Strategy Running | CashCache | Strategy Development | 14 | 10-02-2008 11:20 PM |
| Running Different Strategy Off Same Chart | dgregor5 | Strategy Development | 3 | 10-10-2007 03:31 PM |