May be "Bid-Stop_Loss*Point" instead of "Ask-Stop_Loss*Point"?
hello slawa,
thank you for the suggestion. i tried, and also changed the selling positions to 'Ask' for stoploss. to no avail - i still get error 130s very often (i don't see a particular pattern, sometimes it trades, sometimes it does not).
i also tried other programs that take several trades within a candle, and also get error 130, not all the time but it happens.
i would appreciate if you could look into this, or i can send a whole EA for testing.
thank you for the suggestion. i tried, and also changed the selling positions to 'Ask' for stoploss. to no avail - i still get error 130s very often (i don't see a particular pattern, sometimes it trades, sometimes it does not).
i also tried other programs that take several trades within a candle, and also get error 130, not all the time but it happens.
i would appreciate if you could look into this, or i can send a whole EA for testing.
How near from MarketInfo(Symbol(),MODE_STOPLEVEL) value are your Stop_Loss and Limit_1a values?
Thank you for the hint! It looks like the problem was not the stops but that limits were too close to the starting price.
:)
:)
![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
Does anybody else have the same problem or know how to remedy it? Are there limitations to how wide the stop can be set, or are very large stops possible?