What do you exactly mean by 'at the top' and 'at the bottom'? Do you mean the open price maybe? Then how can you know that it is the top/bottom of the candle?