ilia hnz / Publications
Forum
Error OP_BUY undeclared identifier
i am learning mql5 but when i use 'op_buy' or 'ask' it gives me this error . this is the code : int OnInit () { #property OrderSend ( Symbol (),OP_BUY, 0.01 ,Ask); return ( INIT_SUCCEEDED ); } this is the error: 'OP_BUY' - undeclared identifier DEMO8.mq5 12 24 if you can help me id