• the reference stoch(source, high, low, length). Note the three series are independent: Stochastic RSI passes the RSI in for all three, which is why this cannot just take bars.

    Parameters

    • source: readonly number[]
    • high: readonly number[]
    • low: readonly number[]
    • period: number

    Returns number[]