I WILL PROVIDE THE EA, AND IT WILL BE NECESSARY TO ADD, IN THE FORM OF INPUTS EDITABLE FROM OUTSIDE THE IDE: An input, either true or false, which, if set to false, considers take profit, stop loss, and trailing for each individual operation. If set to true, for each new operation, the average price is calculated, enabling the calculation of take profit, stop loss, and trailing stop based on the average price