No, it's not possible.
Look at Profit Targets and Trailing Stops for ways of closing any order. There are also scripts that you can run to set these exits.
Alain, you know why?
Thank you.
Thank you.
Rodrigo Pandini:
Alain, you know why?
Thank you.
Because in hedging system, a pending order will always result in a new position (or nothing if not triggered).
Alain, you know why?
Thank you.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I would like know if is possible to close a position (or invert it) with a limit order (TRADE_ACTION_PENDING) in HEDGING system?
Even when I set the order.position to the position id (ticket) that I would like to close, I'm getting the error 10013 "invalid request".
Since this error is vague, it don't help me to identify the real problem.
So I don't know if is possible and I'm set some other thing wrong or if is really impossible to close a position with a limit order in hedging system.
For now, I'm only able to close with a market order (TRADE_ACTION_DEAL).