@homemebel Is this what you mean?
0_1608258582667_211a7897-f7cc-4d22-b5c9-582b2bfd93e4-imagen.png
If so, it is as I indicated in the photo, the candle ID goes from ID 0 to the current candle to ID 3, which would be the 3rd candle before the current one, that is, 0,1,2,3 towards existing candles and 0, -1, -2, -3 towards future candles.
0_1608258893996_3c2d4912-d8f9-495f-a021-2dc62a8be546-imagen.png