Skip to content

Stochastic

Syed Ibrahim Omer edited this page Apr 13, 2026 · 1 revision

Stochastic Oscillator

What it is

The stochastic oscillator compares the current close to the recent high/low range.

Output columns

  • K (uppercase in current implementation)
  • D (uppercase in current implementation; 3-period SMA of K)

Formulas (typical)

For window (N):

[ K_t = 100 \cdot \frac{close_t - min(low, N)_t}{max(high, N)_t - min(low, N)_t} ]

[ D_t = SMA(K, 3)_t ]

Configuration

  • Config key: stochastic_window

Related pages:

Clone this wiki locally