ROCR (Rate of Change Ratio)
Indicator Description
ROCR (Rate of Change Ratio) is a variant of the ROC indicator that measures price momentum by calculating the ratio between the current price and the price n periods ago, but uses a different calculation method.
Function Information
- Function Name:
ROCR - Input Parameters:
Close: Closing price
- Parameter Settings:
timeperiod: Calculation period, default 10
- Output: ROCR value
Calculation Principle
ROCR is calculated using the following formula:
ROCR = Current Close / Close[n]
Where:
- Current Close is the current closing price
- Close[n] is the closing price n periods ago
Usage Scenarios
- Momentum Analysis
- Trend Confirmation
- Trading Signal Generation
- Market State Analysis
Usage Recommendations
- ROCR > 1 indicates upward momentum
- ROCR < 1 indicates downward momentum
- Watch for 1-line crossovers
- Pay attention to market environment changes