Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
I have been trying to place a trade from my Expert Advisor but so far I have not been able to succeed. My broker is Go Markets.
Here are the codes I tried:
int order=OrderSend(Symbol(), OP_SELL, 10, Ask, 100, 0, 0, "BO exp:300", "543254325423", 0, clrGreen);
int order=OrderSend(Symbol(),OP_BUYLIMIT,5,Close[0],0,0,0,"UP/5 min",0,0,DeepPink);
I always get the error message "[Trade is disabled]".
Does anyone know how I can solve this?
Thanks so much,
Bryan