Scripts on: fast, convenient, profitable

Having "suffered" from free -advisors and technical indicators promising a profit of hundreds and thousands of dollars by the next Monday, the beginning trader usually returns to the sinful earth and understands that technical tools are just helpers which make trading on the currency market easier and more comfortable. We have already talked a lot about them without mentioning only scripts which are widely used by experienced traders and undeservedly neglected by most novice traders.

Programm

What is a script and how does it differ from an Expert Advisor?

the script - is a program (utility) written in the MQL programming language, the purpose of which is to disposable the performance of an action.

The script can perform informational, analytical or trading operations. For example, providing information on spreads, swaps, etc., drawing a trend line, placing a grid of orders, closing all losing or all profitable positions, etc.

An example of a script that provides a full specification of a trading instrument
An example of a script that provides a full specification of a trading instrument

The main difference between a script and a trading Expert Advisor is its disposability. If an Expert Advisor works constantly, implementing the functions inherent in its algorithm, the script works only once, when you install it on a currency pair chart, after which its work is automatically terminated.

Where can I find scripts in MetaTrader 4?

Along with built-in indicators and advisors, the MetaTrader 4 trading terminal has built-in scripts.

Finding them is quite easy. To do this, open the "Navigator" panel and find the "Scripts" tab. By clicking on the "+" icon, we get a list of all currently downloaded scripts.

The "Scripts" tab in the MetaTrader 4 terminal
The "Scripts" tab in the MetaTrader 4 terminal

The standard set of MetaTrader 4 terminal scripts includes:

  • Close_all_SELL - a script that closes all open sell positions;
  • Close_all - a script that closes all open positions;
  • Close_all_BUY - a script that closes all open buy positions;
  • Close_all_profit - a script that closes all profitable positions;
  • Period Converter is a script for generating non-standard timeframes.

How to install a script on a currency pair chart?

In order to install the desired script, you need to double-click on it or just drag it to the currency pair chart. The script will ask you to confirm the action.

Installing the script on the chart
Installing the script on the chart

As we said above, after a single execution of its function, the script will automatically terminate.

How to install a custom script in the MetaTrader 4 terminal?

Similar to custom indicators, there are a huge number of custom scripts . As a rule, they are all free, and each trader can choose a script to his own taste.

The most demanding traders who are not satisfied with the common scripts can individually order the necessary script to be written by MQL programmers.

The installation of the custom script in the MetaTrader 4 terminal is performed similarly to set the custom indicator, and differs only in the final installation folder, which looks like C:\Program Files\MetaTrader\MQL4\scripts.

Trade easier and more convenient

Each developed technical tool, be it an Expert Advisor or an indicator, is aimed at making trading on the currency market more profitable and comfortable. It is scripts that cope with this task in the best possible way. Of course, you can do without them when trading, but it is only necessary to choose your own set of scripts, and you will immediately notice that trading in the market has become much easier and more convenient.

You will also be interested in

Комментарии ( 6 )

  1. I heard that even in Matlab you can make a small program with which you can predict the rise or fall of the rate, you know, to find coincidences and patterns.

  2. Scripts, of course, is good, but experience and a clear head is much better. It is better not to get carried away with such technical devices and use them in extreme cases.

Leave a Reply

Back to top button