You were trying to trade in an horizontal market with no volume, the price had been stuck in a 15 pips channel for hours and there were no clear supports or resistances.
You basically tried to go long at the top of a dead phase of the market.
I think it could help you to look at higher time frames and only go down to M1 when you see something good, cause staring at M1 will make you see ghosts after a while (you get colored candles for no useful reason when the volume is very low).
1