I am on OSX 10.11.5, can anyone please confirm if this is a MQL4 bug? on OSX? it always return 130error.
On OSX the MQL4 compiler did not used native objective-C, it might be using Wine? is that the reason i always keep getting 130 error while using OrderSend method?
- Expert Advisors under Mac osx
- Running MetaTrader 4 (MT4) on Mac OS X
- Error 130 - invalid stop. Why?
iamloving: can anyone please confirm if this is a MQL4 bug? on OSX? it always return 130error.
Not a bug, it's your broken code.double minstoplevel=MarketInfo(Symbol(),MODE_STOPLEVEL); double stoploss = Bid+1*Point; double takeprofit = Bid+50*Point;
- You are buying, so how can the SL be above the market?
- Where is your test to make sure that your stops are at least STOPLEVEL away? Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
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