![]() |
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: 49
Thanks: 0
Thanked 0 times in 0 posts
|
Hi
Is there any way to get in a strategy the 4 plots of an indicator with a single indicator call (maby as an array) ? I 'm asking that because it would be less cpu consuming than 4 calls. Thank you. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2009
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
For example:
Code:
MACD macd = MACD(12, 26, 9);double m = macd[0];double a = macd.Avg[0]; Regards, Daniel |
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2009
Posts: 49
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you Buthus !!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Two Plots on one Indicator with Two Axises... | CyberTrader123 | Indicator Development | 2 | 07-17-2009 05:31 AM |
| Indicator: Exposing indicator values that are not plots | NinjaTrader_Josh | Reference Samples | 0 | 01-15-2008 02:27 AM |
| MRO in indicator with multiple plots | Jim-Boulder | General Programming | 2 | 01-10-2008 11:34 AM |
| More than 4 plots in an indicator? | FireFly | Indicator Development | 6 | 07-12-2007 03:56 AM |
| Plots[?].Min & Plots[?].Max Don't work | AlohaBob | Indicator Development | 6 | 01-06-2007 08:31 PM |