[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 396

 
chief2000 писал(а) >>

IsTesting() works, but there is something wrong with IsOptimization() .

It always returns " " = default value for optimisation, although it already says by itself that this is Optimisation mode.

>> Thanks!

      string               ModePrefix = "TRADING   ";
      if(IsOptimization()) ModePrefix = "OPT       ";
      if(IsTesting())      ModePrefix = "TESTER    ";
Check this option. Maybe the last two lines should be swapped though.
 
Vinin >>:
Проверь такой вариант. Хотя возможно последние две строчки надо поменять местами.

I already did (ORT by default) :)

 
chief2000 писал(а) >>

I already did (ORT by default) :)

I've corrected the previous post.

 
Vinin >>:

Я предыдущий пост поправил

MT does not react to Optimisation in any way(IsOptimization() in an unclear status, does not go to true). So far I'm satisfied with this option:

      string ModePrefix = "OPT       ";

      if(IsOptimization()==true    &&   IsTesting()==false) {
         ModePrefix = "OPT       ";
      }
      if(IsTesting()==true         &&   IsOptimization()==false) {
         ModePrefix = "TESTER    ";
      }
      if(IsOptimization()==false   &&   IsTesting()==false) {
         ModePrefix = "TRADING   ";
      }

Seen when Testing or Optimization, in "TRADING " does not go either (I'll look later, maybe I'll dig something out - two optimizations are running now, I don't want to torment the computer even more).

 
costy_ >>:

1. Автоматическая закачка истории котировок.

Следуя данному методу Вы получите котировки компании MetaQuotes.

1. Выбираем Сервис -> Архив котировок или просто нажимаем F2.
2. Выбираем период M1 нужной валюты. Причём убедитесь, что вы сделали двойной щелчок и в заглавии окна отображено "Архив котировок: <выбранная валюта>, M1"
3. Нажимаем кнопку "загрузить" (слева) и ждём. На нормальном соединении займёт около 5 минут.
4. Котировки M1 загружены. Ещё раз нажимаем кнопку "загрузить". Появляется предложение пересчитать все ТФ. Соглашаемся. Если предложение не появилось, а началась повторная загрузка (такое бывает) - ждём её завершения, закрываем окно "Архив котировок", открываем его заново и жмём "загрузить". Теперь предложение должно появиться 100%.
5. Ждём.
6. Все ТФ пересчитаны. В этом можно убедиться, прокрутив скролл-бар другого ТФ в самый низ.

2. Ручная закачка истории.

Вам понадобится найти архив котировок по нужным инструментам самостоятельно.

1. Распаковываем скачанный архив.
2. Выбираем Сервис -> Архив котировок или просто нажимаем F2.
3. Выбираем период M1 нужной валюты. Причём убедитесь, что вы сделали двойной щелчок и в заглавии окна отображено "Архив котировок: <выбранная валюта>, M1". Нажимаем кнопку "импорт" (справа).
4. Находим скачанный файл *.hst - не ошибитесь с валютой и ТФ ! Жмём "OK".
5. Чтобы пересчитать все ТФ следуйте тем же указаниям, что и в первом случае.


I'm at it again with my own issues. I did everything according to the instructions, but the minutes start from 4 November 09. I uploaded, waited, they wrote that they uploaded, but the minutes start from November. I need it from the beginning of 2009. Can you tell me how?
 
could this be the problem ? (if so, change the value and reboot the terminal)
 
keekkenen >>:
может проблема в этом ? (если да, то - изменить значение и перегрузить терминал)


It's OK, since 1999. Zri nihachu. Much obliged!!!
 

People! Help! How can I get a *.fxt file from a *.hst file to use when optimising an EA?

In my MT there is no "Recalculate" checkbox, so that a new *.fxt file is not downloaded. Thank you.

 
alex590310 писал(а) >>

People! Help! How can I get a *.fxt file from a *.hst file to use when optimising an EA?

In my MT there is no "Recalculate" checkbox, so that a new *.fxt file is not downloaded. Thanks.

Unfortunately it was recalculated about a year ago. Now fxt is always recalculated.

 

Decided to modify my EA so that it can be optimised for opening prices.

No problem with openings, but what to do with fixed Stop Loss and Take Profit? I don't quite understand how it works in this mode.

Suppose a bar opened above [Stop Loss = 30 pips] and closed below Stop Loss. Would the Stop Loss = 30 pips or would it be calculated by

the opening price of the next Bar (if it opens below the SL)?

Also, any tips, recommendations on this topic?

Thank you!

Reason: