Hi all :) How can I find the highest value to determine the peaks and bottoms In with an equation for (i = 0; i <BarCount; i ++) i want that to get trind line and determine the peaks for Harmonic