Forum

Stop & Reverse

If I open a Buy signal with the code OrderSend(....), how can I launch a Sell order if (only if) the first order go in Stop Loss? Example: 1° Order Long --> 1.0100; TP 1.0150; SL 1.0080; if TP in taken --> end the EA, if SL is taken go Short with the 2° order at the close price of the 1° order (= SL