"Error on calling 'SetState' method: An item with the same key has already been added."
The line of code that it is warning about is this:
startPoint.Y = chartScale.GetYByValue(indicator.Values[seriesCount].GetValueAt(this.ChartBars.ToIndex - 1)) - (textFormat.FontSize / 2) - 10;
I am looping through all the indicators and adding a label to the top of the plots that are found.
Instead if there was a way to do this with just the local plots for the indicator I do not know of an example of that.
Comment