Skip to main content

ROCP

Type: rocp • Category: indicators

Description

Rate of Change Percentage

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno
timeperiodnumberno10

Help

ROCP (Rate of Change Percentage)

Description

The ROCP (Rate of Change Percentage) indicator is a momentum indicator used in financial markets to measure the percentage change in price over a specified period of time. It helps traders and analysts identify the speed and magnitude of price movements.

What does this worker do?

This worker calculates the Rate of Change Percentage (ROCP) for a given list of prices over a specified time period. It provides a measure of how fast the price is changing, which can be used to identify trends, potential reversals, and volatility.

How to interpret the results

The ROCP value represents the percentage change in price over the specified time period. A positive ROCP indicates an upward price movement, while a negative ROCP indicates a downward price movement. A higher absolute value indicates a more significant price movement.

Parameters

The following parameters are required to calculate the ROCP:

Parameters Schema (JSON)

{
"dataExp": {
"type": "string",
"description": "List of prices"
},
"timeperiod": {
"type": "number",
"default": 10
}
}

Parameters List

  • dataExp:
    • Type: string
    • Description: A list of prices.
  • timeperiod:
    • Type: number
    • Description: The time period over which to calculate the ROCP.
    • Default: 10

Usage

To use this worker, provide a list of prices as a string and specify the desired time period. The worker will return the ROCP value, which can be used to analyze the price movement.