iForex indicators.com

Forex script usage
3.5/5 (22 votes)

Forex Script is a special mini-application to work on the currency market. This application is built into the program of technical analysis Metatrader, written in MetaQuotes Language 4 (MQL 4) and thus extends functionality and automates some operations.


Thus, it can perform both analytical and trading functions. Metatrader Scripts have different functionality and depends on what actions are programmed from the installation of pending orders and export quotes in external files to displaying information on the screen and computing trends.

Forex script


The use of scripts is due to several reasons. First, they greatly help with the analysis of the situation and thus make life easier for the trader. The second substantially expand the functionality of the program. A trader with expertise in programming language MetaQuotes Language 4 (MQL4) can program any action. The scripts are located in Metatrader \ experts \ scripts

Working with forex scripts:

1. Installation the script in the trading platform Metatrader.

Typically, after the installation of the program, by default, MT4 create a folder My Computer / Disc C / MetaTrader / experts / scripts. Here it is, the place where we put our scripts. Once trading platform Metatrader launched you need to restart or turn on. In this case the corresponding entry should appear in the "Scripts" in MetaTrader.
Now open the currency chart and drag this script with the mouse from the Navigator menu to the chart.
For more detailed information can be found in the "User Guide" in MetaTrader (Help / Help Topics / AutoTrading or F1/Avto trading/ Scripts)

2. Creating of your own script.

If you're a programmer, you'll want to write your own script. To do this, use the built-in editor "MetaEditor". It has extensive functionality and large number of built-in libraries, which in turn will consider the algorithm of the program and make it perfect. MetaQuotes Language 4 (MQL4) is an integral part of the client terminal and is a convenient development environment for MQL4-programs.

Creation forex script

3. Forex script setup.

Any script before trading must be configured and tested. Common to all the parameters of the scripts are specified in the configuration of the client terminal setup window. In addition, each script has its own settings.

4. Launching of the script in the trading terminal MT4.

To run the metatrader script you should drag with mouse from the Navigator to the chart. Then the script will start its work.

5. Remove the script.

The script itself is deleted from the forex chart after its execution.

You need to login or register to post comments.
Discuss this item on the forums. (0 posts)

Our partners