ta.stoch

Stochastic: 100 * (source - lowest(low, length)) / (highest(high, length) - lowest(low, length)).

ta.stoch(source: float, high: float, low: float, length: simple int) -> series float

Parameters

Example

k = ta.sma(ta.stoch(close, high, low, 14), 3)