I am getting order send error 130. If I try this on demo server of mt4 it works. But if I test in real account of broker instaforex it does not work. What could be the reason.
Files:
competitionw-wcopy.mq4
10 kb
- Manage Trading Accounts - For Advanced Users - Getting Started
- SendMail
- SymbolName
//| This MQL is generated by Expert Advisor Builder |
https://www.mql5.com/en/forum/139865 we hate EA builder. It generates bad code. You haven't learned the language so there is no common language to communicate with you. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.Total = OrdersTotal();
Incompatible with every other EA (including itself on other charts) and manual tradingOrderClose(OrderTicket(), OrderLots(), Bid, Slippage, MediumSeaGreen);
What are Function return values ? How do I use them ? - MQL4 forum- Not adjusting for 4/5 digit brokers
extern int StopLoss = 50; extern int Slippage = 3;
5 pip SL. and 0.3 pip slippage.
extern double Lots = 5;
What is the maximum lot size allowed by your broker?
I know that if the code is working in mql4 demo server . It should work on my broker. It seems broker has some restriction while entering order with stoploss. If I change my stoploss to 50 from 30 then EA is working fine.
kcfve123:
You need you code to check that the Order you are about to send complies with this: Requirements and Limitations in Making Trades
I know that if the code is working in mql4 demo server . It should work on my broker. It seems broker has some restriction while entering order with stoploss. If I change my stoploss to 50 from 30 then EA is working fine.
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