Today for the first time I had positions closed partially. In my case the broker or EA changed the comment field to something like "Was [pc-d] #9723872" and override the comment used by the EA to track the positions which I believe would make the position an orphan or maybe the magic number is enough for the position to kept being monitored by the EA?
Does anyone knows what will happen to the position(s) from now on?
Better to close the partial position manually or let the EA deal with it?
Thanks
>> I've read this about partial closure in the forum but I do not quite understand how/if the EA will keep dealing with it <<
EDIT: Seems the EA takes care of the partial close positions and closed some left open. The logic is still not 100% clear.Next is dydynamic's partial basket closure.
In 'normal' trading buys will be above sells but a mixture of market movement
gap filling and offsetting can leave a bunch of buys below the lowest sell.
Imagine the market has fallen for a substantial period with sufficient
yoyo to allow a large number of losing buys to trigger, that are hedged by
winning sells.
The market rises substantially, closing a lot of sells through offsetting. The
profit from the winning buy at the bottom is insufficient to close the
loser at the top. Some of the market buy trades are now below the
lowest sell trades.
dydynamic's partial basket closure keeps a tally of the increasing
profits of the profitable buys and closes them when the profit
reaches BasketTakeProfit, so long as this results in cash profit.
The remaining buys will become profitable if the market rise continues.
The profitable ones will not become losers if the market reverses again and falls,
because they have been closed.
Vice-versa if the highest sell is above the highest buy.
Complex single sided offsetting may deal with this situation. We
shall see.