PDA

View Full Version : Adding Indicators to Specific/Same Chart Pane


whitmark
10-28-2007, 04:55 AM
When using the Add(Indicator) command within a NinjaScript strategy, is there a way to ensure an indicator can be added to 1) a specified pane or 2) the same pane?

My understanding of #1 is that the pane order is soley controlled by the execution order the Add(Indicator) statement and will be placed in the next available pane and therefore, there is no way assign to specific pane. Regarding #2, it seems that the only way to get multiple indicators in the same pane is two write a custom indicator that has a plot for each instance of the indictor.

Please confirm. If my understanding is correct, some additional comments in the next release of the help facility will be useful. Thanks.

Whitmark

NinjaTrader_Josh
10-28-2007, 04:57 AM
Hi whitmark,

Check this tip out. http://www.ninjatrader-support.com/vb/showthread.php?t=3228

You can define which panel you want the indicators to be displayed on.

whitmark
10-28-2007, 06:08 AM
Excellent Josh . . . I was looking for a method off the Plots[] object but this makes more sense. My initial forum search did not uncover this . . . thanks!

Whitmark