That was it. Thank-you.
Confirmed in some print statements as below that show the previous candles HIGH == PrevCandle
- Price: 9859.9, High: 9900.0, Low: 9807.98, ATR: 126.36791949494834, TSL: 9430.249073717176, PrevCandle: 9827.83
- Price: 9833.4, High: 9873.54, Low: 9813.28, ATR: 122.69525829836178, TSL: 9416.236121785569, PrevCandle: 9900.0
- Price: 9953.09, High: 9964.99, Low: 9818.01, ATR: 124.04441452005452, TSL: 9531.338990631815, PrevCandle: 9873.54