Hi,

Not sure if this a right place for this question.
I suppose there is no function which could tell me how many higher highs I have in n period (did not find it) ?
Similar I would need for lower lows.

So, what is in my current level of knowledge is to do with function and loop through series of prices inside.

Is there some faster and more efficient way ?

Thanks,

Neb