Hello I'm new to the community on here and I was wonder how I could make an algo that places a buy order when the close price has reentered the lower band after price has closed lower; rsi must also have been oversold at under 30, but has come back up to 30 to signal a buy. The bot sells after the price has touched the upper band.