How many values will swingLows contain? As many as the primary series?
So, if a portion of the code says something like:
if (BarsInProgress == 0) { if (Lows[0][3] >= Lows[0][2] && Lows[0][2] < Lows[0][1]) { swingLows.Set(Lows[0][2]; } } if (BarsInProgress == 1) //referring to the added tick series { for (int i = 0; i < swingLows.Count; i++) { if (Opens[1][1] > swingLows[i] && Opens[1][0] <= swingLows[i]) { ..... } } }
Thanks
Comment