EA for Binary Options : How to pass the expiration time in the ordersend() ? - page 3

 

Hi all,

is there any bot capable of scheduling binary options using FX Lite plugin?

 
alexshephard:

Hi Vasyl,

 Thank you for your reply. But what does distance mean? I can open $20 manually. And the terminal returns me 

 

so I should use OP_SELL instead of OP_BUYSTOP.

Later I found the API from the official EA like this:

 

Any idea of how to use those APIs? 

Hi, alexshephard: 

i'm trying to open a trade for Binary pair in MT4, AUDUSDbo   not working... non of them. i had used 5 for distance variable.

    //OrderSend(Symbol(),OP_BUY,1,Ask,100,0,0);

   //OrderSend(Symbol(),OP_BUY,1,Ask,100,0,0,"BO exp:60",0,60,clrGreen);

   //OrderSend(Symbol(),OP_BUYSTOP,1,NormalizeDouble(Ask+5*Point,Digits),0,0,0,"BO exp:60",0,0,clrBlue);

Reason: