Just looked at what happened while i have been out.
As you can see the price retraced after hitting that resistance level. (I believe its called a 'double top?')
In my mind if the EA was programmed to take the trade a little bit higher than the last swing high (or lower in a sell situation) we would be more sure it had broken a level of resistance and this would less likely happen? 'Swing high say plus 5 pips or a certain %'
The point has been proven with this particular trade. Based on my thoughts above this trade would never have been taken as it never broke the resistance of the last swing high (well not by much anyway).
As ever, stand to be told that is a rubbish idea! It would help my learning if i knew why though.
The crossing red lines is where i suggest the trade should be taken?

