people with nt,
good day.
i'm having trouble trying to create an indicator that will plot several indicators.
i created an ema ribbon indicator with 7 emas that works well on nt 8. there are 7 public Series<double> series and 7 plots using addplot. the emas change colors according to some conditions and every ema is plotted on the chart.
i am now trying to create an indicator that will only plot 5 emas but will also include other indicators that i only want to have as public Series<double> series to use their values for logical conditions. this means that there will be more series than plots. i don't see how this could be a problem and the indicator does compile successfully but then when i activate it on a chart nothing will be plotted.
i confirmed the problem is generated by the disparity between series and plots by creating a copy of my ema ribbon indicator with 7 emas and removing the last 2 plots. there are 7 series and only 5 plots in this experimental version. everything seems fine but then ninjatrader won't plot anything when i activate this incomplete ema ribbon indicator on a chart.
i took a look at the addplot and public series sections on the help guide but there is no helpful information. ¿how can i modify my code so that having more series than plots will not be a problem?
very well, thanks, regards.

Comment