Range
<< Click to Display Table of Contents >> Range |
Returns the range of a bar.
Range()
Range(ISeries<double> input)
Returns default value
Range()[int barsAgo]
Range(ISeries<double> input)[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 |
// Prints the range of the current bar |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.