I have an indicator with several DataSeries that I would like to see in MA. I can get the values to print to the Output Window via a Print() command, so I know that values are there and correct. However, when I add the Indicator and then select the DataSeries that I am interested in, I'm getting the following log error: "Error on accessing plot series...Exception has been thrown by the target of an invocation", which is a new one on me.
Are DataSeries objects able to be utilized within the MA or only Plot values?
If Plot values are only able to be exposed to the MA, is there a way to have the Plot values not plot in my indicator--because I don't want the values to plot within the indicator...I'm just interested in the values (hope that makes sense).
EDIT: I added the DataSeries within the Variables section, initialized them within Initialize() and then exposed them in Properties as public. Instead of creating the DataSeries within Variables and then initializing them within Initialize(), should I instead be initializing Plots set to Color.Transparent, and then exposing these Plots as public DataSeries values?
Thanks,
Aventeren
Comment