<aside><nav><h2>Broker Reviews</h2>
<a href="https://www.binaryoptions.net/iq-option" title='IQ Option Review'>IQ Option</a> | <a href="https://www.binaryoptions.net/binary-com" title='Binary.com Review'>Binary.com</a> | <a href="https://www.binaryoptions.net/24option" title='24option Review'>24option</a> | <a href="https://www.binaryoptions.net/ayrex" title='Ayrex Review'>Ayrex</a>

For US traders: <a href="https://www.binaryoptions.net/nadex" title='Nadex Review'>Nadex</a>

<a href="https://www.binaryoptions.net/brokers/">List All Brokers</a>
</nav></aside>

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