Hi,
If I wanted to have my EA only modify the Stop Loss value and leave all other values as they were, Would my OrderModify() statement look something like this? This is for a open OP_BUY or open OP_SELL, not a pending order, I am asking about.
OrderModify( OrderTicket(), NULL, NewStopLossValue, NULL, NULL, CLR_NONE);
Of course I know I use this function in concert with OrderSelect()
I am just trying to pin down how to change only the SL and leave everything else in the open order alone.
Thanks in advance for the help.
If I wanted to have my EA only modify the Stop Loss value and leave all other values as they were, Would my OrderModify() statement look something like this? This is for a open OP_BUY or open OP_SELL, not a pending order, I am asking about.
OrderModify( OrderTicket(), NULL, NewStopLossValue, NULL, NULL, CLR_NONE);
Of course I know I use this function in concert with OrderSelect()
I am just trying to pin down how to change only the SL and leave everything else in the open order alone.
Thanks in advance for the help.