MODE_FREEZELEVEL: Order freeze level in points. If the execution price lies within the range defined by the freeze level, the order cannot be modified, cancelled or closed.
You can check the freeze level by using something like this.
double Freeze_Level= MarketInfo(Symbol(),MODE_FREEZELEVEL);
Alert(Freeze_Level);
freeze level and just plain stop level. If the market is too close to tp or sl, you can not close the order. On IBFX stopLevel=3pips, 30points.
If you want closer stops, you'll have to use a bigger sl and have the EA close the order at the real stop.
Thanks,
Now I just need to learn how to add the EA. I've just manually traded before.
Have a great day!
Steve
MODE_FREEZELEVEL: Order freeze level in points. If the execution price lies within the range defined by the freeze level, the order cannot be modified, cancelled or closed.
You can check the freeze level by using something like this.
double Freeze_Level= MarketInfo(Symbol(),MODE_FREEZELEVEL);
Alert(Freeze_Level);
Thanks!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I occassionally run into this situation where I cannot exit a trade early manually. I get a message "Too close to market".
Of course it's close to market, I want to exit at market.
The most recent, trading oil. I bought 1 unit, then set a SL at -30 pips (closest allowed by broker). Indicators started turning down and I tried to exit at only a 5 pip loss. The program would not let me.
I tried contacting the broker and all they can tell me is the order was "too close to market".
What makes an order "Too close to market" in a market?
Thanks for your help,
Steve