![]() |
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: 43
Thanks: 0
Thanked 0 times in 0 posts
|
I have tried for the last couple of days to figure out how to reference a plot line that is part of an indicator with one or more plot lines.
example. the stochastic. I can use: Stochastics(7,14,6).Plots[0].Pen.Color = Color.Red; However this only sets the D plot line. I would like to know how to reference the K line, both for colors and for other display properties. Cheers. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Please see this tip: http://www.ninjatrader-support.com/v...ead.php?t=3228
To access different ones you would change the Plots[0] to maybe Plots[1] or Plots[2] etc.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2008
Posts: 43
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
Thanks so much mate. Appreciate the assistance. I knew it would be simple. Stephen. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accessing Multiple Custom Indicator Plots within a Strategy | whitmark | Strategy Development | 15 | 03-28-2009 04:21 PM |
| Syntax for adding Woodies Pivots to strategy | raz0rback | Strategy Development | 1 | 06-15-2008 07:54 AM |
| Changing colors of plots added to strategy | kegrande | Strategy Development | 3 | 05-30-2008 02:27 AM |
| Please add the 'panel' parameter for plots created within the Strategy Wizard | Elliott Wave | Strategy Development | 3 | 05-03-2008 04:04 PM |
| Managing Plots for Strategy vs Presentation | whitmark | Strategy Development | 3 | 06-14-2007 07:25 AM |