I firstly thought it was a type of martingale system. But actually it didn't double up. It is only leaving the position open until the price goes back. I think this EA will actually work in live or demo (I haven't tried, and i think i won't try too ), as long as you believe the price will eventually return to that TP level.
As I mentioned, I'm still new to forex. Not so sure if it works like this. Correct me if wrong.
Happy Trading, guys!