Dear Tanaka, I must really say that you have exceeded my expectations, not only because you interpreted me perfectly but also because you improved the idea by adding a multiple to the Hedge, I really appreciate your good will and intelligence.
That said: now the EA opens the two orders correctly but I see two details that either I do not understand or would have to be solved, I explain:
1) at the beginning the hedge does not open the second order with the multiple awarded, for example: in the attached set (and by default) it is configured to open the second order with x0.5, but it opens the second order with the same lot ; however later he does open an order with x0.5 (with half the lot), I didn't quite understand why and I think this is wrong.
2) when one stop order is executed, the other should be closed, or at least have a duration, no more ... so that it is not eternally there.
Thank you very much for your attention, I do not ask you to attend to these details because I respect your time and dedication, however I leave them so that if you would like I could review them.
Greetings and success!