Skip to content

charton API


charton API / @chart-on/ta / stoch

Function: stoch() ​

stoch(high, low, close, kLength, kSmooth, dLength, out?): Stoch

Defined in: momentum.ts:160

Stochastic oscillator. A bar whose range is zero reads 50. Lookback kLength + kSmooth + dLength - 3 (%K starts dLength - 1 bars earlier).

Parameters ​

high ​

Series

low ​

Series

close ​

Series

kLength ​

number

kSmooth ​

number

dLength ​

number

out? ​

Stoch

Returns ​

Stoch