Edit Your Comment
Binary Options EA Code
Nov 02, 2016 at 08:02
Oct 26, 2016 부터 멤버
게시물14
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
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 부터 멤버
게시물231

*상업적 사용 및 스팸은 허용되지 않으며 계정이 해지될 수 있습니다.
팁: 이미지/유튜브 URL을 게시하면 게시물에 자동으로 삽입됩니다!
팁: @기호를 입력하여 이 토론에 참여하는 사용자 이름을 자동으로 완성합니다.