Something to think about...
In real-time reality, your scenario traveled 24 points ($480). Now IMO, sans the machines, only traders who employ a bar-by-bar methodology, or "lucky" trading, or flat out liars, have any chance to coming close to capturing anything near 24 points net. But the point is that 24 points, in your example, is what was available for the taking.
One of the rudimentary adages is... Never let a (decent) profit turn into a loss.
The issue with that is each trader must determine the definition of "decent". Maybe manual override of your psuedo-psar in favor of say 75% giveback would be decent. That is for you to decide. Obviously, since you complaining of 100% giveback, there is some number that you would feel good, or at least OK with.
As I said, something to think about.