You have to consider the worst case scenario
If you buy 1 and it hits your "stop" then you short 2 which then hits your stop forcing you to go long 4, repeat over and over 8, 16, 32, 64, 128....this method is dangerous unless you have an account big enough to do about 20 doublings. Although 20 losers in a row is a small chance, it can still happen.
Also the logic you missed is that by doubling in opposite direction you ARE CLOSING the previous trade and incurring comissions.
Verdict: You can use if if you have margin enough for 30 doublings and even then still take the risk of wiping out when 31 losers in a row.
This is not a new idea, it is called Martingale method of gambling and is defined thus "a gambling system of continually doubling the stakes in the hope of an eventual win that must yield a net profit."
how can we just let this expert open a trade without any indicator . just to open a trade at once .
you just write the same type EA as me ! Only diffrence, i call your Ping Pong zone "Black Hole" :)
I have test a lot of thing to filter entry trade to avoid black hole...but nothing. You avoid one to fall in another.
I'm trying to manage them from inside, taking profit from win trade... Black Hole could disappear for 1 or 2 years on some good parameters but still appear one day !