Is this use of if correct?
Buffer[0] is the current candle, Buffer[1] is one back. Buffer[-3] is the future, and trying to access the future results in a singularity, reality destroyed, end of life, etc. Pray that all you get is your code crashes.
*i'm trying to compare the values of 3 bars back through 6 bars back.