How To Create EA For Binary Options

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Video Tutorial >

How To Create EA For Binary Options

menu_video Watch the video here.

 

In this tutorial, we're going to create an Expert Advisor that trades Binary Options.

 

First, let's see how Binary Options work on MetaTrader 4. Start MetaTrader 4 with Binary Options support.

 

clip0384

 

clip0385

 

clip0386

 

clip0004Core Liquidity Markets offer Binary Options trading directly on MetaTrader 4.

 

Make sure that the symbols for Binary Options are available. Right-click in Market Watch and click Show All.

 

clip0387

 

Let's open a chart, for example EURUSDbo where bo stands for Binary Option.

 

clip0388

 

The chart is the same as EURUSD. When you send a new order, a special Binary Options trading box will pop up.

 

clip0389

 

For example, you can choose an expiry time of 60 seconds and invest 10 dollars in a CALL option. If the market moves your way in the next 60 seconds, no matter how far, you will make 80% of the initial investment.

 

We will demonstrate automated trading on the same breakout system that was presented in the previous videos. However, instead of sending standard market orders with Take Profit and Stop Loss, we'll be sending Binary Option orders. Let's start from scratch. Create a new MetaTrader 4 Strategy and call it Daily Breakout Binary.

 

clip0390

 

Add condition...

 

clip0391

 

Price (the MetaTrader charts show the Bid price), crosses above, Resistance. The Time Interval will be 12 hours at Fixed time of the day and the Time Interval ends at 10 o'clock. We want to draw the resistance on the chart. Click OK.

 

clip0392

 

Click on the "BO"  icon to change the order to Binary Option and set the Expiry Time.

 

clip0393

 

The Expiry Time will be 1 hour.

 

clip0394

 

The idea behind this is that when the price breaks through a significant support or resistance, it will likely continue in that direction for the first hour. This is the only difference when dealing with Binary Options. Now create the opposite to sell.

 

clip0395

 

The price crosses below support and it will invest in a Binary Option with the same expiry time. That's correct.

We don't need to close the trade, because the expiry time will do the job.

 

clip0396

 

Because we still haven't limited the number of trades, the order will be sent multiple times when the price moves around the support or resistance. We want to send the next order the following day. So we check Next Open Trade After Time Of The Day: 10 o'clock, which is the time when the support or resistance interval ends.

 

clip0397

 

In Money Management, we will use a 10-dollar investment for one Binary Option.

 

clip0398

 

The Source is ready... that's pretty fast work! Copy the source and compile it.

 

clip0399

 

clip0400

 

clip0401

 

Our new Expert Advisor appears here:

 

clip0402

 

If it is not there, restart MetaTrader. It will invest in a CALL or PUT Binary Option every day when the price breaks through the support or resistance.

 

clip0403

 

clip0404

 

This is how you can implement Binary Options into your Expert Advisor. Remember, the only thing you need to do is to click on the "BO" icon for each order and set the expiry time.