I'm writing an EA (my first) it can sell yet. I don't want to put stop loss or
trailing stop but i would like to put a buy order, opposite 50 pip distance from
sell.
int OrderSend(string symbol, int cmd, double volume, double price, int slippage, double stoploss,
double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color
arrow_color=CLR_NONE)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I'm writing an EA (my first) it can sell yet. I don't want to put stop loss or trailing stop but i would like to put a buy order, opposite 50 pip distance from sell.
Thanks in advance.