I select "H1" period in the tester. At execution time it reads "0", i.e. there is no price. If I choose the period "М15", then normal prices are written. It's written in the FAQ that this function may return "0", if there is no price history. Question: where and how to get the price history?
Greetings. Question on MT4 software. After testing, I click - open chart where testing is clearly shown. But I am not happy with the default image (I always change the bars to candlesticks and zoom in). Is it possible and where to change these default settings to the one that suits you better?
Telemah>>: Приветствую. Вопрос по программе MT4. После тестирования жму - открыть график, где наглядно показано тестирование. Но меня дефолтное изображение не устраивает (всегда меняю бары на свечи и увеличиваю масштаб). Можно ли и где изменить эти дефолтные настройки на те, которые тебя больше устраивают?
What prevents you from creating a template named default
The template named Default only works when you open a symbol chart from the terminal menu. But when you press the "Open chart" button from the strategy tester menu, it does not work.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
There is a line like this in the EA:
I select "H1" period in the tester.
At execution time it reads "0", i.e. there is no price. If I choose the period "М15", then normal prices are written.
It's written in the FAQ that this function may return "0", if there is no price history.
Question: where and how to get the price history?
Question: where and how do I get the price history?
далее выбрать необходимую пару. и "загрузить".
Thank you very much, it all worked out.
:)
Can you please tell me how to dump variables from this loop to the file *. sv ?
for (int kk= 0; kk<= 99; kk++) {
lwma = iMA(NULL, 0, 1, 0, MODE_LWMA, Close, jj + 1);
Sum += SumLW[kk] * lwma ;
}
return (0);
Добрый день.
Подскажите пож, как переменные из такого цикла выгрузить в файл *. сsv ?
for (int kk= 0; kk<= 99; kk++) {
lwma = iMA(NULL, 0, 1, 0, MODE_LWMA, Close, jj + 1);
Sum += SumLW[kk] * lwma ;
}
return (0);
https://docs.mql4.com/ru/files/FileWriteDouble
Приветствую. Вопрос по программе MT4. После тестирования жму - открыть график, где наглядно показано тестирование. Но меня дефолтное изображение не устраивает (всегда меняю бары на свечи и увеличиваю масштаб). Можно ли и где изменить эти дефолтные настройки на те, которые тебя больше устраивают?
What prevents you from creating a template named default
скажите пожалуйста, можно ли прицепить индикатор на окно в тестере?или это не предусмотрено?
You can do as you normally do.