Education

Getting Started with the VTS Expert Advisor Builder

The VTS Expert Advisor Builder is super-powerful.

But to realize the full power, you need to learn how to use it.

While I highly recommend reading the entire Help document, I realize many traders will not do that.

(Are you different? Click here to read the Help: VTS-Help )

Also, I realize that we learn better by doing – not just by reading.

So I created some Wizards to help you. Before I get to the Wizards, since I’m not sure where you are in your quest to build an Expert Advisor, I’ve posed some questions.

If you don’t know the answer to any of these, just click the question for a full description.

Right now, there are two Wizards: The Test Wizard and the EA Wizard.

The Test Wizard

I created the Test Wizard to help you learn about your MetaTrader (MT) platform.

VTS generates MQL code from your drawings. Then it builds an Expert Advisor from that MQL code.

There’s nothing special about an EA built by VTS. It’s just like any other EA that you run on your MT platform.

For example, some MT platforms will not allow your EA to open a trade unless the stoploss and takeprofit values are zero.

But other MT platforms enforce the exact opposite rule: they’ll only allow an EA to open a trade if the stoploss and takeprofit are not zero! (We introduced the ECN input parameter just to solve this one issue – more on that below.)

So, among other things, the Test Wizard is designed to open and close trades on a demo account so you can find out what works, and what does not work on your platform.

Once you are confident how an EA opens and closes trades, then you can implement more complex logic in a real trading EA.

Here is a link to a video showing how to use the Test Wizard:

Watch the Test Wizard Video

The EA Wizard

I created the EA Wizard so you could build your first trading EA easily & quickly. The EA wizard also serves as a tutorial in a way, because as you complete each step of the wizard, VTS actually creates a drawing of your system!

When you are finished with the EA wizard, you can change the mode in VTS from wizard to drawing and edit and rebuild your EA if you like.

I show how it’s done in this video: EA Wizard Video

NOTE. ECN brokers require that trades opened by an EA have a zero stoploss and takeprofit value. All EA’s built by VTS have a true/false ECN input.

If your broker is an ECN broker, set ECN to true and VTS will automatically open trades with zero stops and then immediately (on the next tick) change the stoploss and takeprofit to your non-zero values. You can use the EA Wizard  to determine of your broker is ECN, or you could just ask your broker.  Click here for more info: VTS-Help-ECN

 

VTS-Connect Expert Advisor Builder: Configuring a Custom Indicator

VTS-Connect Expert Advisor Builder: Configuring a Custom Indicator

 

This video shows how to configure a Custom Indicator for use in an Expert Advisor.

This is one of my first videos and the sound is poor.  Also it is based on the legacy version of VTS.  However, the method shown is valid.

Note:

  1. Once a Custom indicator has been configured it is used just like any other technical indicator in VTS.
  2. Any custom indicators that exists in the MetaTrader platform’s “experts\indicators” folder will appear in the VTS Toolbox and will are available for configuring and dragging and dropping onto a VTS drawing.

Here is a link to the VTS Help section on MetaTrader Custom indicators: 
http://www.iexpertadvisor.com/connect-help/html/customindicators.html