Skip to content

KeltnerChannels.Bottom

property · KeltnerChannels · cAlgo.API.Indicators

DesktopCLICloud

Moving Average - ATR * BandDistance

Definition

IndicatorDataSeries Bottom {get;}
keltnerChannels.Bottom: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var keltnerChannels = Indicators.KeltnerChannels(20, MovingAverageType.Exponential, 10, MovingAverageType.Simple, 2);
if (Bars.LowPrices.Last(1) <= keltnerChannels.Bottom.Last(1))
    Print("Price touched the lower Keltner band: {0}", keltnerChannels.Bottom.Last(1));
keltnerChannels = api.Indicators.KeltnerChannels(20, MovingAverageType.Exponential, 10, MovingAverageType.Simple, 2)
if api.Bars.LowPrices.Last(1) <= keltnerChannels.Bottom.Last(1):
    api.Print(f"Price touched the lower Keltner band: {keltnerChannels.Bottom.Last(1)}")