In This Topic
Syntax
ROC(values; period)
Arguments
The 'values' argument must be an array.
The 'period' parameter must be a constant greater or equal to 1.
Result
The result is an array. The first 'period' elements are marked as invalid.
Description
The Rate of Change indicator monitors market momentum. It calculates the market's rate of change relative to previous trading intervals. The Rate of Change indicator is calculated using the following formula:
ROC = ((Today's value - Value n periods ago) / (Value n periods ago)) * 100
Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Financial\Technical Price Indicators