I'm trying to think of an algorithm that essentially takes an "average of highs." I'm not quite certain how to approach this.
I'm working with an oscillator, and I'd like to know, on average, the high points (and, by corollary, the low points) that this oscillator has reached over a set amount of time, and even since the oscillator's instantiation.
Any ideas how to approach this? All suggestions are welcome.
Comment