Forum

error 130

Im trying to send an order but it seems that my broker has limits to the orders sent. I had the following line of code which gave me an output of 10: Alert(MarketInfo(NULL,MODE_STOPLEVEL)); and the following is my order send function but its not accepted

Error

Hi I had the following line int OP_TYPE = int(0.5((1+f)*OP_BUY+(1-f)*OP_SELL)); and it gave me the error: " '+' - some operator expected" what am I supposed to do in this case