Hello Tim
I have found a Ergodic programme which would be a useful reference for you.
Ergodic
=======
---8<---------------------------
{ William Blau's Ergodic indicator }
{ With thanks to William Schamp,
[email protected] }
{ Incorporating auto overbought/sold levels }
{ Coded for...