Binary Options EA Code

Nov 02, 2016 at 08:02
592流覽
2 Replies
會員從Oct 26, 2016開始   14帖子
Nov 02, 2016 at 08:02
Hi,

I have built on an EA that trades Binary Options. I found it really quite difficult to get information from brokers on what MQL syntax to use to send binary option orders i.e. trade size, expiry times etc... I also couldn't find much info on the www about it either. I have put the code below, hope someone finds it useful....

CALL
OrderSend(Symbol(),OP_BUY,Lots, Bid,3,0,0,'BO exp:900', MagicNumber,0,DodgerBlue);

PUT
OrderSend(Symbol(),OP_SELL,Lots, Ask,3,0,0,'BO exp:900', MagicNumber,0,DeepPink);

Where....

Lots = 0.01 would be $10 trade size for example
BO exp:900 = Expiry time in seconds so 900 would be 15 mins

Thanks
Get Rich Slow
會員從Jan 01, 2015開始   258帖子
Nov 02, 2016 at 21:32
how does EA performs?
Succeed in Forex trading
會員從Oct 26, 2016開始   14帖子
Nov 03, 2016 at 07:35
Hi - do you mean the trading strategy or the actual performance of the EA itself? Let me know and I can try and supply the info :-)
Get Rich Slow
登錄 / 註冊 to comment
You must be connected to Myfxbook in order to leave a comment
*商業用途和垃圾郵件將不被容忍,並可能導致帳戶終止。
提示:發佈圖片/YouTube網址會自動嵌入到您的帖子中!
提示:鍵入@符號,自動完成參與此討論的用戶名。