Forum on trading, automated trading systems and testing trading strategies
Boristabby55, 2018.04.01 22:36
What and why do I get this as my MT4 EA opens an account?Boristabby55:
Error 130 is because of invalid stops.My EA enters up to 5 orders, then modifies with TP and SL. Also sets trailing stops. Journal shows many many Error 130 msgs.
Entered same question last week but it is no longer in the MT4 Forum area?? Did it get answered? Help, help.
1) Maybe you stop levels have invalid form of normalization/rounding off.
2) or your broker has set a minimum distance between stop levels and current market price and the EA tries to set a TP or SL or a pending order closer to the market price than the amount set by your broker
Here my broker doesn't have this fixed minimum distance (freeze levels) between current price and the stop levels so it is mentioned as 0
Files:
freeze_level.PNG
24 kb
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
My EA enters up to 5 orders, then modifies with TP and SL. Also sets trailing stops. Journal shows many many Error 130 msgs.
Entered same question last week but it is no longer in the MT4 Forum area?? Did it get answered? Help, help.