Skip to content

DonchianChannel.Bottom

property · DonchianChannel · cAlgo.API.Indicators

DesktopCLICloud

Gets or sets the lowest low of the period.

Definition

IndicatorDataSeries Bottom {get; set;}
donchianChannel.Bottom: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var donchian = Indicators.DonchianChannel(20);
if (Bars.ClosePrices.Last(1) < donchian.Bottom.Last(2))
    Print("Breakout below the channel Bottom: {0}", donchian.Bottom.Last(2));
donchian = api.Indicators.DonchianChannel(20)
if api.Bars.ClosePrices.Last(1) < donchian.Bottom.Last(2):
    api.Print(f"Breakout below the channel Bottom: {donchian.Bottom.Last(2)}")