Most of the pivot calculation methods are based on some oscillator type definition. For example when the oscillator is above zero, that would be price action that I am ascribing to an upper pivot, and below zero to a lower pivot.
What I am trying to do is look back at the last "pivot" to get OHLC information. So all of the recent bars for which the oscillator is above 0 would be distilled down to a single data point for an upper pivot, and conversely as the oscillator then starts working on the lower pivot. The end point being working on defining a series of higher highs/lows, lower highs/lows.
It would seem to me there is some basic C# skill that I haven't worked with yet that can do this pretty easily. Maybe a list that it gets dumped into? If you can just point me in the right direction I want somewhere to start with a little more self-education. Thanks!

Comment