I'm trying to optimize the code so the indicator calculations are only done once to provide information to both the plot and the strategy.
Strategy Contains:
Add(MyIndicator(25)); //Add the indicator's plots
test1 = MyIndicator.PlottedSeries[0]; //get a plotted value
test2 = MyIndicator.SeriesNotPlotted[0];//get a non-plotted value
thanks,
Comment