If you add a plot to a chart via:
AddPlot(Brushes.LawnGreen, "APlot");
I am wondering if there is an obvious way to not have this happen, as this is a VWAP type of indicator, and I want the values to be independant of the prior session. And that sort of carry-over behavior is ugly.
Next, my question is about plotting via the onRender() method, if I wanted to accomplish this plot with that method.
Assuming I have the values stored for the plot in a data series like:
private Series<double> SomeDataSeries;
So to recap, two separate questions about plotting.
- Is there a simple way using the normal Plot functions to remove that carry-over behavior in between sessions, where the calculations are completely independant from day to day, and I'd like to not have the plot connect itself from the last value of the prior session to the first value of the new session?
- If I were going to use the onRender() method to do this plotting, is the idea to loop through in the onRender() method the viewable data in the chart, the plot the various plots I would want? If so, is there a sample showing how one would do this?

Comment