STOCHF
Type:
stochf
• Category:indicators
Description
Stochastic Fast
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
high | string | List of highest prices | no | |
low | string | List of lowest prices | no | |
close | string | List of closing prices | no | |
fastk_period | number | no | 5 | |
fastd_period | number | no | 3 | |
fastd_matype | number | no | 0 |
Help
STOCHF: Stochastic Fast Indicator
Description
The STOCHF indicator is a financial market indicator that calculates the Stochastic Fast indicator. This indicator is used to analyze the price movements of a security and identify potential trading opportunities.
What does this worker do?
The STOCHF worker calculates the Stochastic Fast indicator based on the provided high, low, and close prices. It uses these calculations to generate two lines: the %K line (fast) and the %D line (slow). The %K line is a measure of the current price position relative to the high-low range over a given period, while the %D line is a moving average of the %K line.
How to interpret the results
The STOCHF indicator can be interpreted in the following ways:
- When the %K line crosses above the %D line, it is considered a buy signal.
- When the %K line crosses below the %D line, it is considered a sell signal.
- When the %K line and %D line are above 80, it is considered overbought, and a sell signal may be generated.
- When the %K line and %D line are below 20, it is considered oversold, and a buy signal may be generated.
Parameters
JSON Schema
The STOCHF worker accepts the following parameters:
{
"high": {
"type": "string",
"description": "List of highest prices"
},
"low": {
"type": "string",
"description": "List of lowest prices"
},
"close": {
"type": "string",
"description": "List of closing prices"
},
"fastk_period": {
"type": "number",
"default": 5
},
"fastd_period": {
"type": "number",
"default": 3
},
"fastd_matype": {
"type": "number",
"default": 0
}
}
Parameters List
- high: string - List of highest prices.
- low: string - List of lowest prices.
- close: string - List of closing prices.
- fastk_period: number (default: 5) - The period used to calculate the %K line.
- fastd_period: number (default: 3) - The period used to calculate the %D line.
- fastd_matype: number (default: 0) - The moving average type used to calculate the %D line.
Note: The moving average type can be one of the following:
- 0: Simple Moving Average (SMA)
- 1: Exponential Moving Average (EMA)
- 2: Time Series Moving Average (TMA)
- 3: Variable Moving Average (VMA)
- 4: Weighted Moving Average (WMA)