I believe HighestBar, LowestBar, and GetBar all start with 0. For example if current bar happens to be the HighestBar then it will return zero instead of 1.
The minimum value for any LookBackPeriod has to be 1.
Let mek now if this is the correct understanding.
Regards,
Comment