Stochastic Oscillator (ta.stoch)
Category: momentum
Computes the Stochastic Oscillator, measuring the position of the current price relative to the high-low range over a specified period.
Formula
100 * (source - lowest(low, length)) / (highest(high, length) - lowest(low, length))
Inputs
- source (default: close)
- high source (default: high)
- low source (default: low)
- length (default: 3)
See signal primitives and every published strategy that uses Stochastic Oscillator (ta.stoch) on WOBR StrategyVerse.