BinaryOptions.net Forums Binary Options Trading Examples

Error 3 from OrderSend() function

Hi All,

I am trying to write a EA for Binary options on MT4 platform. But I cannot place the order by using OrderSend() function (My account does not have any problem, I can place the order buy using the EA from the broker). It gives me Error 3 when I am using the following statement:

ticket=OrderSend(Symbol(),OP_SELL,dLots,dPrice,iSlippage,dStopLoss,dTakeProfit,sEAComment,MagicNumber,tExpiration,clrRed);

Anybody can tell me what's wrong with my statement?

Comments

Sign In or Register to comment.