Hi,
I’m a newbie looking at writing a very basic expert advisor to help me with my BabyPips school training.
I’ve got a line of code that gives me an “Implicit conversion from number to string error” error.
I’ve searched online and found MQL4 forums etc but I cant seem to be able to apply the answers there to my piece of code.
Would someone mind advising please why this error is popping up referencing the part starting ‘int buyticket’ when compiling the below?
//±-----------------------------------------------------------------+
//| Expert tick function |
//±-----------------------------------------------------------------+
void OnTick()
{
int buyticket = OrderSend(Symbol(),OP_BUY,0.01,Ask,3.0,(Ask +0.10),NULL,26082014,0,Green);
}
//±-----------------------------------------------------------------+
Cheers,
Simon