Part 13 Meta Trader 4 Show – Strategy Tester (+Video)

Best Binary Options Brokers 2020:
  • Binarium
    Binarium

    The Best Binary Options Broker 2020!
    Perfect For Beginners!
    Free Demo Account!
    Free Trading Education!
    Sign-up Bonus!

  • Binomo
    Binomo

    Trustful Broker!

Working with the MetaTrader4 Strategy Tester: getting started

Master class “Working with the MetaTrader4 Strategy Tester” – part 1

Throughout its history, man has sought to facilitate or speed up the process of obtaining food and obtaining material wealth. At first he came up with a hoe, so as not to dig the earth with his hands, then he came to the creation of whole mechanisms for lifting and transporting goods. Now we use hundreds of various technical devices that greatly facilitate our life and make it more comfortable. It got to the point that in our time, manual labor is considered a highlight, for which you need to pay several times more than for the same operation of the mechanism. And with all this, manual work can be an order of magnitude lower in quality and accuracy than machine operation.

Exchange Automation

In the same way in trading – each participant seeks to simplify their work as much as possible, increasing its effectiveness. It would seem that MetaQuotes has already created a convenient terminal for comfortable work. What more could you want? But there is no limit to perfection. A new trader is a new vision of the situation, new habits. Therefore in MetaTrader 4.0 terminal it is possible to make adjustments to indicators and develop automatic (or mechanical) trading systems (respectively ATS or MTS), which, by and large, do not require human intervention. Such systems in the environment of MetaTrader 4.0 are called advisors or experts.

Someone says that a machine cannot make money on the Forex market itself, and someone only trades in this way. And there is no erroneous opinion here – both sides are right in their own way. Because everyone has their own vision of life in general and the market in particular. Be that as it may, any trader dealt with the topic of automated trading, and it is impossible to imagine an exchange speculator who at least once did not throw the usual average on the chart. In addition, no one forces a trader to use an expert for a fully automatic, thoughtless trading. The easiest application of experts – testing on history. This allows you to quickly evaluate the selected strategy, immediately discarding the obviously unfit. According to a suitable strategy, a signal indicator is created that will clearly track the necessary situation and inform the trader about a possible transaction. And the trader has to decide whether or not to act in the light of fundamental factors, which are much more difficult (almost impossible) to describe in MTS.

Let’s start learning with a strategy tester in MT4

Often the problem for novice creators of advisers is not the code set itself, but testing and debugging the product itself. The reason is simple. Like any serious product that has gone through certain stages of evolution, the MT4 tester has quite a few features that you need to be able to use correctly. It is from this moment that I propose to start learning programming in MQL4 language.

Start the MT4 terminal and select the item in the main menu View, and in the opened submenu – the item “Strategy Tester“Or just press a key combination Ctrl+R. A window of the strategy tester will open at the bottom of the terminal (see Fig. 1).

Fig. 1. The strategy tester window.

If you do not see all the elements shown in the figure in the window, increase the size of the tester window.

For the test, you must directly select an adviser. This is done using drop-down list opposite the inscription “Advisor”. As a “guinea pig” I propose to choose a well-known example MACD Sample. This is an implementation of the classical interpretation. MACD indicator – buy entry when the signal line crosses the main one from the top down in the negative area, and sell entry when the signal line crosses the main one from the bottom up in the positive area. In the future, using his example, we will move on to writing advisers.

Next choose a currency pairon which it is necessary to test. This is done in the drop-down list opposite the inscription “Symbol”. There will be only those currency pairs that are available in the “Market Watch” window (Ctrl + M).

In the item Model is available Three types of testing: “At opening prices”, “Control points” and “All ticks”. About them a little more, as this is one of the cornerstones of testing.

Models of testing trading robots in MT4

In the model “At opening prices” the tester does not fully simulate the situation. Only the opening price of each bar (or candle) is taken into account. That is, if the testing period is hourly (H1), then only the opening price of the hourly candle will be modeled. Using this price, all indicators are calculated, the conditions for opening and closing positions are checked, including stop and profit. Then the tester compares the stop and profit of the open position (or the open price of the pending order) with the maximum and minimum values ​​on the candle (note that no indicator values ​​are calculated at High and Low prices). If one candle and stop, and profit fall in the range from minimum to maximum, the tester will consider that the stop worked first, although in reality it could be exactly the opposite. In addition, a trailing stop lift (trailing stop) will be performed only based on the opening price of the candle. Inside the body of the candle, the trailing stop will not move. Despite the listed disadvantages of this model, it has an undeniable advantage – high speed testing. If you create an expert who calculates the necessary values ​​only at the opening prices of the candle (and professional experts are written), then using this testing model is justified.

Best Binary Options Brokers 2020:
  • Binarium
    Binarium

    The Best Binary Options Broker 2020!
    Perfect For Beginners!
    Free Demo Account!
    Free Trading Education!
    Sign-up Bonus!

  • Binomo
    Binomo

    Trustful Broker!

Control Points Model similar to the previous model with one addition – along with the opening prices of the current period, it uses the opening prices of the nearest smaller period (for H1, the nearest smaller one is M30, for M30 – M15, for H4 – H1, etc.). Thus, one bar already has not one but two to six ticks depending on the period. This model is used very rarely, because in speed it is inferior to the model “At opening prices”, and it gives very little additional information.

The most accurate, but at the same time the slowest model – “All ticks”. Although it also does not claim absolute accuracy. The fact is that the most detailed history that the terminal has is minute bars. How did the price movement develop within the minute period – the “tester” fantasy, if you can call it a clear tick modeling algorithm. To the credit of the developers, it is necessary to recognize that the real price movement inside the minute bar and the tick stream modeled by the tester do not have a very big difference, which can only significantly affect strategies with too small profit or stop values ​​(they are called scalpers or pipers). So, as a result of modeling each tick, as well as “taking note” of all data on the opening and closing of the candle (and this is already accurate and not at all imaginary historical data), the tester calculates all the necessary values ​​on each tick, as it happens in reality.

With further tests, you can see the difference between all the models listed, comparing the results.

Part 13: Meta Trader 4 Show – Strategy Tester (+Video)

Данный видеоматериал удалён, либо недоступен к просмотру на страницах нашего портала!

Part 13: Meta Trader 4 Show – Strategy Tester (+Video)

Внимание! Обнаружена ошибка

К сожалению, данная страница для Вас недоступна, возможно был изменён её адрес или она была удалена. Пожалуйста, воспользуйтесь поиском.

Тестер Стратегий В Metatrader 4.Mp4

Forex Для Начинающих HD 16:48

31.01.2020 14:03 2020-01-31T10:03:43.000Z

Описание:

http://complexmath.ru/
В видео на примере стратегии “Метод Пуриа” демонстрируется принцип работы тестера стратегий торговой платформы МТ4.

Подписывайтесь на наш Telegram канал @thewikihow открыть

Best Binary Options Brokers 2020:
  • Binarium
    Binarium

    The Best Binary Options Broker 2020!
    Perfect For Beginners!
    Free Demo Account!
    Free Trading Education!
    Sign-up Bonus!

  • Binomo
    Binomo

    Trustful Broker!

Like this post? Please share to your friends:
Binary Options Wiki
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: