@eren-0 Your close positions should be in a separate tree or above your buy/sell, as for candle touching bolanger band, in a condition block candle high X> upper BB, then your sell will entre a trade, just set the candle ID you want to use, 0 = current, 1 = candle before etc.