trading-signals
    Preparing search index...

    Class StochasticRSI

    随机相对强弱指标(Stochastic RSI,STOCHRSI) 类型:动量指标

    Stochastic RSI 是一个在 0 到 1 之间振荡的指标,由 Tushar S. Chande 和 Stanley Kroll 开发。 与 RSI 相比,Stochastic RSI 的曲线更加陡峭,经常处于极端位置(0 或 1)。它可用于识别短期趋势。

    • 返回值 ≤ 0.2 表示超卖状态
    • 返回值 ≈ 0.5 表示市场处于中性
    • 返回值 ≥ 0.8 表示超买状态
    • 超买并不意味着价格将反转下跌,而是说明 RSI 达到了极端水平
    • 超卖并不意味着价格将反转上涨,而是说明 RSI 达到了极端水平

    Stochastic RSI 通常通过其 %K(快线)与 %D(信号线)的交叉来解读。当 %K 在超卖区(< 20)上穿 %D 时,可能提示买入;当 %K 在超买区(> 80)下穿 %D 时,可能提示卖出。

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    interval: number
    smoothing: { d: MovingAverage; k: MovingAverage } = ...

    Accessors

    • get isStable(): boolean

      Returns boolean

    Methods

    • Parameters

      • inputs: readonly number[]
      • replace: boolean = false

      Returns (null | number)[]