When the candle touches the bottom line of the bollinger bands and the candle closes it has to open a buy order and begin a new cycle.
Cycle example: It opens a first order after a signal, I set a 10 pips stop loss, a 5 pips martingale step and a max of 4 martingale. If the price fight with me after the first order, after 5 pips it has to open the first martingale and so on. If the price continues to go against me when it opens the fourth martingale and it reaches the last stop loss it has to begin from a new first order when it appears a new signal)
When the candle touches the upper line of the bollinger bands and the candle closes it has to open a sell order and begin a new cycle.