ArchitectureStrategiesResearchWhy UsPricing
Momentum Oscillator Momentum Indicators

STOCHRSI: Stochastic Relative Strength Index

Stochastic Relative Strength Index

Visual Rule Syntax: @STOCHRSI(close, 14)

Key Takeaways

  • Vectorized mathematical transform for advanced factor composition.
  • Executes at high performance within the Saral Engine runtime.
  • Essential for data normalization and non-linear factor modeling.

What It Means in Simple Terms

Stochastic Relative Strength Index is a quantitative transform that evaluates cyclical frequencies, price ratios, or mathematical series transformations.

How It Helps You as an Investor

It provides a flexible building block for constructing custom indicators, non-linear factor scores, and composite filters in the Saral visual DAG.

Visual Node Rule Syntax & How to Plug in Values

Visual Node Expression No Code Required
@STOCHRSI(close, 14)

Parameter Tuning & Market Calibration

Plug the appropriate price field (such as close, high, low) and optional lookback parameters into the node rule.

Input Fields & Parameters

Field / Parameter Type Default Role & Description
close field Required Historical input price or volume series from market feed.
timeperiod int 14 Lookback period or tuning parameter for market calibration.
fastk_period int 5 Lookback period or tuning parameter for market calibration.
fastd_period int 3 Lookback period or tuning parameter for market calibration.
fastd_matype int 0 Lookback period or tuning parameter for market calibration.

Mathematical Formulation

The mathematical definition of STOCHRSI (Stochastic Relative Strength Index) as evaluated within the Saral Engine execution pipeline:

STOCHRSI(Xt)→Transformed Series\text{STOCHRSI}(X_t) \rightarrow \text{Transformed Series}

Variable & Parameter Definitions

Mathematical transform applied element-wise across the series.

Systematic Strategy Applications

Stochastic Relative Strength Index Rule Transform Rule
@STOCHRSI(close, 14) > 0

Evaluate Stochastic Relative Strength Index in a composite rule.

Common Questions & Practical Considerations

How do I use @STOCHRSI in a visual strategy?

Connect it inside a rule or ranking node to transform raw price values into standardized quantitative signals.