MQL4: Writing an Expert Advisor for Trading Binary Options

Dear forex traders, friends, colleagues, I welcome you! We continue the series of lessons on MQL programming.
Today we will have a very unusual topic - "How to write an expert advisor for trading Binary Options." Binary options are an interesting instrument, but one of their drawbacks is poorly developed trading platforms. At the moment, only the company Grand Capital provides the ability to fully trade options from Metatrader 4, and that gives us the opportunity to write a robot for trading BO. How can this be done? Let us consider it step by step in our lesson.
Reference section

- What are binary options
- Features of trading BO from MT4 in Grand Capital
- Programming in MQL4 - Basic course
Homework assignment

So friends, this expert advisor can trade only one type of options - CALL and PUT. The homework assignment will be to teach the robot to work with BUY STOP/SELL STOP and BUY LIMIT/SELL LIMIT orders. If you managed to do this, then also add the ability to trade orders with TAKE PROFIT, because the risk premium is much higher, which means the pocket is fuller :)
Sincerely, Sergey aka xbms TradeLikeaPro.ru

Dear forex traders, friends, colleagues, I welcome you! We continue the series of lessons on MQL programming.