![]() |
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: Jul 2009
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I’m making direct calls from a Strategy to an Indicator ( AaZlemaVma(14,9,6) ) using the following statement: ZV_Vma1 = AaZlemaVma(14,9,6).Vma[1]; This returns the Y coordinate used in plotting the Indicator. Is there was a way to declare some type of variable in the Strategy for the indicator “AaZlemaVma(14,9,6)” and use that variable instead of “AaZlemaVma(14,9,6)” in the statement? Thanks for your help, jhill |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Thanks for the note. The only supported way to do this is below. Let me know if I can be of further assistance. Exposing indicator values that are not plots
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2009
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks Brett for your info and time.
jhill |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DLL calls | CTAtrader | General Programming | 1 | 08-10-2011 02:09 AM |
| Indicator that calls itself | Picita | Indicator Development | 4 | 08-02-2011 01:07 PM |
| DLL calls | binwang2 | General Programming | 15 | 03-15-2011 07:36 AM |
| Sub minute calls to OnBarUpdate() | mtthwbrnd | Strategy Analyzer | 2 | 04-17-2010 04:44 AM |
| DLL calls, async or synch? | davewolfs | General Programming | 3 | 12-21-2009 06:11 AM |