Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1151

 
Pro help. MT 4 strategy tester is not working in the terminal. Black window ( Pending update)
 
gera1971:
Pro help. MT 4 strategy tester does not work in the terminal. Black window ( Waiting for update)
  1. Check the connection to the server - maybe your demo account is already out of date and you need to create a new one
  2. F2 and download all the necessary history by timeframe for the desired symbol.
 
Victor Nikolaev:

Well, that's a hell of a wrap. You have to give up the black box to work together. If the account is the same, the history and open trades will be available. If the accounts are different, the signals may help. These trades will simply work for them as well.

Thank you.
 
Artyom Trishkin:
  1. Check the connection to the server - maybe your demo account is already out of date and you need to create a new one
  2. F2 and download all necessary history by timeframe for the desired symbol.

Thank you, it's working.
 

How do I get the previous (penultimate) price? Bid, ask. Apart from the obvious way of keeping a tick with the arrival of each new one, is there something?

 
igorbel:

How do I get the previous (penultimate) price? Bid, ask. Apart from the obvious way of keeping a tick with the arrival of each new one, is there something?

https://docs.mql4.com/ru/predefined/close
Close - Предопределенные переменные - Справочник MQL4
Close - Предопределенные переменные - Справочник MQL4
  • docs.mql4.com
Close - Предопределенные переменные - Справочник MQL4
 
igorbel:

How do I get the previous (penultimate) price? Bid, ask. Apart from the obvious way of keeping a tick with the arrival of each new one, is there something?

https://docs.mql4.com/ru/series/iclose
iClose - Доступ к таймсериям и индикаторам - Справочник MQL4
iClose - Доступ к таймсериям и индикаторам - Справочник MQL4
  • docs.mql4.com
iClose - Доступ к таймсериям и индикаторам - Справочник MQL4
 
Renat Akhtyamov:
https://docs.mql4.com/ru/predefined/close
It needs the previous Bid/Ask, not the closing/opening :)
 
igorbel:

How do I get the previous (penultimate) price? Bid, ask. Apart from the obvious way of keeping a tick with the arrival of each new one, is there something?

In mql4 it is only to memorize. In mql5 - CopyTicks()
 
Vitaly Muzichenko:
It needs a previous Bid/Ask, not a close/open :)

then download to the code base some ready-made code that writes ticks.

https://www.mql5.com/ru/code/13954
Ticks collector - Сборщик тиков
Ticks collector - Сборщик тиков
  • votes: 22
  • 2015.10.12
  • Ihor Herasko
  • www.mql5.com
Сбор тиков с записью данных в файл и формирование нестандартных графиков.
Reason: