It looks like it depends on support and resistance. It's easy to identify the [pattern of this effective trading strategy. Because head and solder are like middle trend line will be high and first and second will be the lower than the middle. But sometimes it becomes hard like in your second chart I didn't understand.