Is it possible to set the position_id?


I am using ctrade for my programming right now but as I want to expand my capabilites / possibilities, I am wondering if it is possible to set the position_id of an order? In the MqlTradeRequest struct there is the MqlTradeRequest.position member - is this there, so that my EA could set the position_id itself? Or is the position_id always set by the server? If the position_id can be set by the EA, are there any limitations?

Thank you!!

The position ID is set by the broker where you place the order.