rsi
RSI
Type:
rsi
• Category:indicators
Description
Calculates the RSI indicator based on a list of closing prices
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
dataExp | string | List of closing prices | no | |
period | number | no | 14 |
Help
RSI
Description
The RSI (Relative Strength Index) worker calculates the RSI indicator based on a list of closing prices. This indicator is commonly used in financial markets to measure the magnitude of recent price changes and determine overbought or oversold conditions.
What does this worker do?
This worker takes a list of closing prices and a specified period as input, then calculates the RSI value for the given period. The RSI is a momentum indicator that compares the magnitude of recent gains to the magnitude of recent losses and generates a score from 0 to 100.
How to interpret the results
The RSI value ranges from 0 to 100 and can be interpreted as follows:
- Overbought: An RSI value above 70 indicates that the asset may be overbought, suggesting a potential reversal or correction in the price.
- Oversold: An RSI value below 30 indicates that the asset may be oversold, suggesting a potential bounce back or recovery in the price.
- Neutral: An RSI value around 50 indicates that the asset is experiencing normal price movements without extreme buying or selling pressure.
Parameters
The following parameters can be passed to the RSI worker:
Parameters Schema (JSON)
{
"dataExp": {
"type": "string",
"description": "List of closing prices"
},
"period": {
"type": "number",
"default": 14
}
}
Detailed Parameters
- dataExp:
- Type: string
- Description: A list of closing prices. This should be a comma-separated string of numbers or a JSON array of numbers.
- period:
- Type: number
- Default: 14
- Description: The number of periods to use for the RSI calculation. A higher period results in a slower RSI, while a lower period results in a faster RSI. The default period is 14, which is the most commonly used setting.