You can create a bot as a console/command-line application for binary.com and call it from MT4 using ShellExecute (from shell32.dll) and pass the parameters to control the bot.
Solved it, here is a sample price proposal request for Higher CALL contract type
Use the id derived from the response to buy the contract
Here i'm sharing my success with you , with 15 days of coding finally i coded c# bot with Metatrader 5 Support
I have a problem with BUY API . I want to use "buy" API call, It needs the authentication first right. So, first i have send the "authentication" call and then call the "buy" call. But the error message shows "AuthorizationRequired". Can u please tell me what can i do for that.
in binary bot implement a strategy to tick chart crossing moving average (fast and slow). I made it a condition that (IF SMA 4>SMA 12 DO CALL and IF SMA 4<SMA 12 DO CALL ), but after winning the robot re-opens a deal as to make the robot waited for the next crossing moving average and only then open the deal?
Okay, I figured it out by myself.
Here is the solution: you have to add app_id=0000 to the websocket URL: e.g. wss://ws.binaryws.com/websockets/v3?app_id=0000
(replace 0000 with the id of your registered app)
I am also wondering if there is some mailing list or newsletter for such important changes. Luckily I do not have any live apps out there.
Before I found the forum I was thinking "no way... they wouldn't just change the current API version, that is not the way you do things", but they did. Which can be okay for security reason, but when people don't know it.. well.. lol...
I want to register for an app_id, but I don't have a redirect URL, or a public app (github, appstore, google play).
Does this mean that you don't allow people to register an app just for their own personal use? Do you need to distribute it for you to receive an app_id?
@Raunak have re-registered and noted app_id many thanks.
I put app_id=1 and it just works. is that fine?