Next time, You should wait after the confirmation before you enter. Breaking the upper line of the trend with a single candle is not the confirmation because it will surely bounce again to that line for retest on the second candle after the breakout. When the second candle close above that upper trend line again then that means that the resistance turns into support which is the signal of change trend. You should always set stop loss because its not 100% guaranteed that TA is correct.