/stoch¶
Calculates the stochastic oscillator indicator for the last 100 bars of an asset, given a timeframe.
Syntax¶
/stoch asset time_frame
/stoch asset time_frame period k_window
| Parameter | Required | Default | Description |
|---|---|---|---|
asset |
yes | — | Asset code. See Asset format. |
time_frame |
yes | — | M5, M15, M30, H1 or D1. See Timeframes. |
period |
no | 14 |
Period of the stochastic oscillator. |
k_window |
no | 3 |
Window of the moving average over %K. |
Example¶
/stoch BTC/USDT D1
