Can somebody explain to me how EA can do this?

With the market EA tests I made there are many EAs which strangely exit at bad points such as this

Where I had a modest 9 point spread the trade closes 4-500 points with no explanation

this is backtesting lagged, try the newest tickdata will fix this problem