![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2009
Posts: 198
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
I am transferring indicators and strategies from TradeStation to Ninja. I was just woudering If I could refer to an indicator variable from a strategy in Ninja. With TradeStation I had to use collections to send variables from indicator to strategy because they can't talk together... but Ninja is C# with object oriented programming so I was woudering if there was a better way I could just get variables from indicators to strategies without have to transfer these data to a collection type. Thanks very much |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
Blarouche, I just helped someone with this very topic. I'll dig up the link for you.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
Here is a link to a thread titled Accessing indicator variable from a strategy. It covers exactly what you're trying to do.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Apr 2009
Posts: 198
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you very much Austin
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't pass BoolSeries variables in Indicator to Strategy | tjendra | Strategy Development | 20 | 03-31-2010 04:48 PM |
| Parsing variables from one indicator to another | Shansen | Indicator Development | 42 | 03-31-2010 05:32 AM |
| Refer to instrument in indicator | eleven | Indicator Development | 2 | 06-19-2009 10:58 AM |
| Strategy: Using User Variables in the Strategy Wizard | NinjaTrader_Josh | Reference Samples | 0 | 03-23-2009 09:41 AM |
| Can I access Public Indicator Variables from Strategy | rrv1980 | Strategy Development | 13 | 08-24-2008 05:31 PM |