mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 16:02:04 +00:00
* add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
45 lines
1.6 KiB
Markdown
Vendored
45 lines
1.6 KiB
Markdown
Vendored
---
|
|
title: stoch
|
|
description: Learn how to use the Stochastic Oscillator, a tool for measuring where
|
|
the close is in relation to the recent trading range. Input values range from zero
|
|
to 100, and interpret the output for buy and sell signals
|
|
keywords:
|
|
- Stochastic Oscillator
|
|
- overbought condition
|
|
- oversold condition
|
|
- buy signal
|
|
- sell signal
|
|
- Fast %D and Slow %D
|
|
- Raw %K
|
|
- moving average
|
|
- trading range
|
|
- stoch usage
|
|
- stoch parameters
|
|
---
|
|
|
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
|
|
|
|
<HeadTitle title="etf/ta/stoch - Reference | OpenBB Terminal Docs" />
|
|
|
|
The Stochastic Oscillator measures where the close is in relation to the recent trading range. The values range from zero to 100. %D values over 75 indicate an overbought condition; values under 25 indicate an oversold condition. When the Fast %D crosses above the Slow %D, it is a buy signal; when it crosses below, it is a sell signal. The Raw %K is generally considered too erratic to use for crossover signals.
|
|
|
|
### Usage
|
|
|
|
```python
|
|
stoch [-k N_FASTKPERIOD] [-d N_SLOWDPERIOD] [--slowkperiod N_SLOWKPERIOD]
|
|
```
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Name | Description | Default | Optional | Choices |
|
|
| ---- | ----------- | ------- | -------- | ------- |
|
|
| n_fastkperiod | The time period of the fastk moving average | 14 | True | None |
|
|
| n_slowdperiod | The time period of the slowd moving average | 3 | True | None |
|
|
| n_slowkperiod | The time period of the slowk moving average | 3 | True | None |
|
|
|
|

|
|
|
|
---
|