Volume Rate of Change (VROC)
<< Click to Display Table of Contents >> Volume Rate of Change (VROC) |
Volume Rate of Change is identical to Price Rate Of Change (ROC) indicator except that it uses volume instead of price.
VROC(int period, int smooth)
VROC(ISeries<double> input, int period, int smooth)
Returns default value
VROC(int period, int smooth)[int barsAgo]
VROC(ISeries<double> input, int period, int smooth)[int barsAgo]
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
input |
Indicator source data (?) |
period |
Number of bars used in the calculation |
smooth |
The number of bars for smoothing the signal |
// Prints the current value of VROC |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.