Hello All!
I've been watching a lot of tutorials on how to make scripts and EA's and I'm having an issue trying to get my EA to place a buy order on the market as a test. I get the following error. I do have it in the EA folder and I have allowed live trading when the inputs screen comes up.
2019.03.24 21:56:52.092 '11123847': order buy 0.01 EURUSD opening at market sl: 1.12944 tp: 1.12964 failed [Trade is disabled]
The following is my code.
Thoughts?
Check all the settings for "enable trading" on the MT4 platform under settings and on the ea itself ?
I found out what it was. I asked the broker directly. It is an ECN account so the symbols are named XXX/YYY_ecn. In my script I didn't have "_ecn" when specifying the symbol. This corrected the issue for me. (i dont even know what ecn is. lol)
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
Hello All!
I've been watching a lot of tutorials on how to make scripts and EA's and I'm having an issue trying to get my EA to place a buy order on the market as a test. I get the following error. I do have it in the EA folder and I have allowed live trading when the inputs screen comes up.
2019.03.24 21:56:52.092 '11123847': order buy 0.01 EURUSD opening at market sl: 1.12944 tp: 1.12964 failed [Trade is disabled]
The following is my code.
Thoughts?