This method would only be for the regular accumulation of small amounts of stock, then selling the whole lot 10+ years later. If you want to trade in and out, the stochastics won't make you profitable.
Any charting software will have stochastic indicators, even the free ones your broker offers. It consists of two lines, K% and D%. When they both go below a value of (say) 50, wait for the K line to cross upwards over the D line.
That's all there is to it. Buy at that point. Just an example. There would be more profitable ways of doing it.