@l-andorrà yes that's right.

I have shift 500 pips away for each pending order to cover it's spread, but still have a problems. is it possible to create Opposite Pending Order by last open price value (exact moment) from each open trade was closed?
Let's say. I was open buy at 1680.00, than it's closed at 1685.00 or 500 pips away from it's open price by Take Profit. and at moment my EA should create pending order Sell again at 1680, I think 500 pips or 1.000 pips is enough for now.
So I want my EA create Opposite Pending Order at exact same moment for each the last open trade was closed and what's wrong with my script /project ? Thanks.

