This could interest you, in next MT5 update :
In the hedging mode, the ticket of a closed position is now displayed
for the orders and deals in the trading history. This makes it easier to
find related opening and closing operations.
How can overwrite this code?
bool CTrade::PositionClose(const ulong ticket,const ulong deviation)
This solution is OK but I get compiler error:
'PositionClose' - function already defined and has body bolbands_joze_115h35.mq5 2866 14
Please enable the necessary setting in your browser, otherwise you will not be able to log in.