So I want the value of the Bollinger band and Keltner channel,python, from the current day and the previous day using rolling windows. I tried using the sample code and forum posts but have been unable to apply it to bollinger bands and keltner channel. I am still confused on how to use the rolling windwos.. Can someone point me in the right direction?

Thanks :)