ok well I guess if would be kinda like ....
This would all be in end of candles not just wicks but I guess you could put in a option for that.
if PRICE > UPPER then Buy
if PRICE < LOWER then Sell
thanks very much, what programming language is this in?