Closes[1] is already a series that was added with AddDataSeries.
May I ask the use case for attempting to duplicate that series that already exists?
Is the custom series extCloses synchronized to the primary series?
If so, then its going to have a different number of bar slots than BarsArray[1]. Meaning if you are setting extCloses[0] to Closes[1][0], then there are going to be some bars that have no value set, and some bars where the value is set multiple times.
Comment