Please excuse me if this is a simple question. I have searched the forum but have not found any answers related to what I am looking for. If anyone would be kind enough to either suggest an answer or direct me to where I might be able to find an answer, I would greatly appreciate it. Thank you very much.
I have an indicator that uses DrawLine to drawlines. I want to change the tag of each line so that I get the historical lines to remain on the chart. Currently I have a variable, int lineID, which I convert to a string to create a unique tag; i.e Convert.ToString(lineID).
I am not sure this will work because I have to initialize the lineID variable, int lineID = 0;, and therefore I don't know how to persist it so that it is not reset to zero.

Comment