return value of 'OrderSend' should be checked
Check your return codes.
Don't look at GLE/LE unless you have an error. Don't just silence the compiler, it is trying to help you.
What are Function return values ? How do I use them ? - MQL4 programming forum
Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
Hello my friends,
Ive got a little problem with a part of my ea.
OrderSend("sysmbol()",OP_BUY,Lots,Ask,0,StopLoss,TakeProfit,NULL,0,0,Blue);OrderClose(OrderTicket(),Lots,Bid,0,Black);
return value of 'OrderSend' should be checked
return value of 'OrderSend' should be checked
I tried nearly everything for a couple of hours and need help now.
And yes, ive already used google and the search function on this side. I guess im just blind for my own mistakes.
Please help me. Thanks in advance!