i am learning mql5 but when i use 'op_buy' or 'ask' it gives me this error .
this is the code :
this is the error:
'OP_BUY' - undeclared identifier DEMO8.mq5 12 24
if you can help me id appreciate it .
make sure you have correctly put all the parameters in as per the documentation

- docs.mql4.com
-
Perhaps you should read the manual. OrderSend → MqlTradeRequest → ENUM_ORDER_TYPE
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. -
Why did you post your coding MT5 question in the MQL4 section , (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum?
Next time, post in the correct place. The moderators will likely move this thread there soon.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
i am learning mql5 but when i use 'op_buy' or 'ask' it gives me this error .
this is the code :
this is the error:
'OP_BUY' - undeclared identifier DEMO8.mq5 12 24
if you can help me id appreciate it .