Keltner Channel
<< Click to Display Table of Contents >> Keltner Channel |
Keltner Channel indicator is based on volatility using a pair of values placed as an "envelope" around the data field.
KeltnerChannel(double offsetMultiplier, int period)
KeltnerChannel(ISeries<double> input, double offsetMultiplier, int period)
Returns midline value
KeltnerChannel(double offsetMultiplier, int period)[int barsAgo]
KeltnerChannel(ISeries<double> input, double offsetMultiplier, int period)[int barsAgo]
Returns upper band value
KeltnerChannel(double offsetMultiplier, int period).Upper[int barsAgo]
KeltnerChannel(ISeries<double> input, double offsetMultiplier, int period).Upper[int barsAgo]
Returns lower band value
KeltnerChannel(double offsetMultiplier, int period).Lower[int barsAgo]
KeltnerChannel(ISeries<double> input, double offsetMultiplier, int period).Lower[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 current upper value of a 20 period KeltnerChannel using default price type |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.