Setup simple Bands Bollingers with Moving Average 5 and 20 (bb middle)
Direction moving average 5 e 9 = Up e Down
Candle close > MA 5 and 9 = Buy
Candle close < MA 5 and 9 = Buy
Band openings (confirm)
This script is published closed-source and you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.