How to use the stochastic oscillator