A thanks to Marco vd Heijden whose comments showed that I was going in the wrong direction. I am trying to apply high and highest as well as low and lowest to a Bollinger Bandwidth indicator. I am new to MT4 programing. Code was copied from a BBW indicator. Then High(...Highest(...)) and