The approach lies in inserting two opposite pending orders. If the price moves in a specific course, just one pending order is triggered, although the lot dimension of one other purchase is greater. The EA gives three kinds of opening pending orders (TypeofTrade) A detailed section under the heading https://r.valery.digital/content-2-3