Maybe this is a stupid question, but unfortunately I am struggling a bit, trying to do the following.
I am running through the visible chartbars.
for (int index = ChartBars.FromIndex; index <= ChartBars.ToIndex; index ++)
now what i want to check is, if Bars.GetHigh(index) is higher than the maximal high of x bars before index. or stated ottherwise if the "index" high is a new x bar high, how is this be done, i tried converting the barsago value by subtracting the indexvalue from CurrentBar, but cant get it working.
regards
Comment