Articles by: David Williams

How To Use Custom Indicators in the VTS EA Builder

Q: I can’t see my Custom Indicators in the VTS Function Toolbox. How do I set the folder where my Custom Indicators are?


A: The latest versions of MetaTrader have made it more difficult to locate where the folders are that hold Expert Advisors and Custom Indicators. This quick video shows how to find out where Custom Indicators are stored. The steps are also listed below.
 


 


Steps:


 


Open the MetaEdtor. This editor is in included in the MetaTrader platform and is found in the installed MT folder, for example  :C:\Program Files (x86)\FXCM MetaTrader 4\metaeditor.exe


 


 


In the MetaEditor, go to File->Open Data Folder. This is a randomly-named folder, for example:


C:\Users\david\AppData\Roaming\MetaQuotes\Terminal\BB190E062770E27C3E79391AB0D1A117


 


Within this folder, Navigate to MQL4\Indicators.  The complete path will look like:


C:\Users\david\AppData\Roaming\MetaQuotes\Terminal\BB190E062770E27C3E79391AB0D1A117\MQL4\Indicators


 


Click in the Window Explorer address bar where there is no text, and then right-click to copy the path


 


In the VTS MetaTrader EA Builder, go to Tools->Options->Platform, In the last entry for “Custom Indicator” folder, paste the folder name and  click Done.


 


In the VTS Function Toolbox, under Indicators, select the “Custom Indicator” folder, right-click and select “Reload Custom Indicators”


 


The latest versions of MetaTrader have made it more difficult to locate where the folders are  that hold Expert Advisors and Custom Indicators. This quick video shows how to find where Custom Indicators are stored. The steps are also listed below.


 



To get notified about the latest questions and answers, follow us!



RAQ

Create an EA that Closes a Trade after 60 Seconds

Q: Is there way to set a “stop watch” like function to close a trade after 60 seconds?

A: Yes. First create a function that checks if a trade has been opened over 60 seconds and then closes the trade if it has been open that long. Then use the Event Manager to automatically execute the function every 1 or 2 seconds.
Here is a video showing how I created a similar EA:

And you can download the system right here: VtsPackageTimerCloser

 

To get notified about the latest questions and answers, follow us!

 

RAQ