Maybe by checking the freeze distance : SymbolInfoInteger () with SYMBOL_TRADE_FREEZE_LEVEL parameter ?
Not sure about that.
EDIT: which request are you doing ?
Alain Verleyen:
Maybe by checking the freeze distance : SymbolInfoInteger () with SYMBOL_TRADE_FREEZE_LEVEL parameter ?
Not sure about that.
EDIT: which request are you doing ?
Thank you, but it's the position that is frozen not the symbol it self. It happens (at least in the Brazilian market) when the price is too close to the TP or the SL.
I'll check this method anyway, thanks.
I'm trying to change the stop loss.

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
At some situations the position is "frozen" (can't be changed) and any attempt to change it results in TRADE_RETCODE_FROZEN.
Is it possible to retrieve this state to verify is a position is currently frozen or not, without an attempt to change it?
Thanks in advice.