Choppiness Index
<< Click to Display Table of Contents >> Choppiness Index |
The Choppiness Index is designed to determine if the market is choppy (trading sideways) or not choppy (trading within a trend in either direction)
ChoppinessIndex(int period)
ChoppinessIndex(ISeries<double> input, int period)
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 current value of a 14 period Choppiness Index |