BollingerBands.Bottom
property · BollingerBands · cAlgo.API.Indicators
DesktopCLICloud
Lower Bollinger Band.
Definition
IndicatorDataSeries Bottom {get;}
bollingerBands.Bottom: IndicatorDataSeries
Returns IndicatorDataSeries — The Bottom Bollinger Band result.
Examples
var bollingerBands = Indicators.BollingerBands(Bars.ClosePrices, 20, 2, MovingAverageType.Simple);
if (Bars.LowPrices.Last(1) <= bollingerBands.Bottom.Last(1))
Print("The last bar touched the Bottom band at {0}", bollingerBands.Bottom.Last(1));
bollingerBands = api.Indicators.BollingerBands(api.Bars.ClosePrices, 20, 2, MovingAverageType.Simple)
if api.Bars.LowPrices.Last(1) <= bollingerBands.Bottom.Last(1):
api.Print(f"The last bar touched the Bottom band at {bollingerBands.Bottom.Last(1)}")