제품을 구매하거나 렌트한 사용자만 코멘트를 남길 수 있습니다
Alfred Kamal  

Hi Pavel,

Since when historical data is download?

Thank you
Pavel Zamoshnikov  
Alfred Kamal:
Since when historical data is download?

Hi Alfred,

the maximum number of bars - 16 000. If the terminal and a broker allow it.

Alexander Dudenchuk  

Павел, приветствую!

Утилита сразу загружает данные в терминал, или сохраняет в промежуточный файл?

Pavel Zamoshnikov  
SanchoD:

Павел, приветствую!

Утилита сразу загружает данные в терминал, или сохраняет в промежуточный файл?

Доброго дня!

Утилита загружает исторические данные в терминал, при этом создаются файлы формата .HST по всем 28-ми инструментам всех таймфреймов (от M1 до месячных). Файлы располагаются в папке <папка вашего терминала>\history\<имя вашего сервера>.

Alexander Dudenchuk  
Pavel Zamoshnikov:

Доброго дня!

Утилита загружает исторические данные в терминал, при этом создаются файлы формата .HST по всем 28-ми инструментам всех таймфреймов (от M1 до месячных). Файлы располагаются в папке <папка вашего терминала>\history\<имя вашего сервера>.

Спасибо. Понял.

А можно как-то файлы hst преобразовать в csv, dbf, xls, xml, txt?

Pavel Zamoshnikov  
SanchoD:

А можно как-то файлы hst преобразовать в csv, dbf, xls, xml, txt?

Да. В формат csv, txt, htm можно экспортировать стандартными средствами терминала.

Вам нужно открыть окно "Архив котировок" (горячая клавиша F2), выбрать нужный Вам символ и период, нажать кнопку "Экспорт".

Котировки должны быть предварительно закачены в терминал.

Более подробная информация описана в Справке (клавиша F1 в окне "Архив котировок")

Alexander Dudenchuk  
Pavel Zamoshnikov:

Да. В формат csv, txt, htm можно экспортировать стандартными средствами терминала.

Вам нужно открыть окно "Архив котировок" (горячая клавиша F2), выбрать нужный Вам символ и период, нажать кнопку "Экспорт".

Котировки должны быть предварительно закачены в терминал.

Более подробная информация описана в Справке (клавиша F1 в окне "Архив котировок")

Спасибо. Про экспорт из терминала знаю. Думал, есть более простой и прямой путь конвертирования без использования терминала.
Pavel Zamoshnikov  

Dear traders!


Here is a new version of the script for uploading quotes to the MT4 terminal.


Unlike the program published on the main page, this version uses the Windows API to emulate the Home key press. This is an old, but still the most effective way of downloading quotes to the MT4 terminal, but due to the use of a DLL library, such a program cannot be published on the MQL Market.


Nevertheless, if the program published on the main page downloads quotes with gaps, then you can use this script. I, as the author, guarantee the safety of using this program.

***************************************************************

Уважаемые трейдеры!


Перед вами новая версия скрипта для закачки котировок в терминал MT4.


В отличие от опубликованной на главной странице, эта версия использует Windows API для эмуляции нажатия клавиши Home. Это старый, но до сих пор самый эффективный способ загрузки котировок в терминал MT4, но из-за использования DLL-библиотеки, такую программу нельзя опубликовать на витрине MQL-Маркет.


Тем не менее, если программа, опубликованная на главной странице, закачивает котировки с пропусками, то вы можете использовать этот скрипт. Я, как автор, гарантирую безопасность использования этой программы.


파일:
Abdul Hakeem  

Hello,

whats the instruction for downloading quotes,,,,which key do I have to press after attaching it to a chart ?

Pavel Zamoshnikov  
Abdul Hakeem:

Hello,

whats the instruction for downloading quotes,,,,which key do I have to press after attaching it to a chart ?

You don't need to press any key. Just drop the script on any chart and that's it. The script will do everything itself.

But first see if DLL import is allowed in your terminal.

If DLL import is allowed, then run the "Download_Quotes_with_DLL.ex4" script.

If you do not want to use DLL import, then download and run the program from the main page.

Lev Vladimirovic Marushkin  


Please see the green arrow on my image. The script "Download Quotes with DLL.ex4" automatically enables this. I have disabled it and the script enables it again when i run it. Then the chart obviously can not be scrolled back to the end correctly. Is this a bug? Thank you

Pavel Zamoshnikov  
Lev Vladimirovic Marushkin #:

Please see the green arrow on my image. The script "Download Quotes with DLL.ex4" automatically enables this. I have disabled it and the script enables it again when i run it. Then the chart obviously can not be scrolled back to the end correctly. Is this a bug? Thank you

Yes, I overlooked that when creating a new chart, autoscroll is enabled by default. Download the update - this error has been fixed.

파일:
Lev Vladimirovic Marushkin  

Thank you very much for your efforts. It works now. BUT unfortunately the script does NOT scroll the charts to the very end. I have set max bars in history = 100.000 and max bars in chart = 100.000 then i have set your script to download 100.000 bars.

Then the script has done its work and i have checked the history folder. The history files were way too small. For example: AUDCAD1.hst size = 513 KB and AUDCAD5.hst size = 586 KB. Then i deleted all history again and scrolled the charts back MANUALLY 

then i checked the history folder again and now AUDCAD1.hst size = 4.042 KB and AUDCAD5.hst size = 3.881 KB for example. So as you can see the script only downloades a certain amount of bars for whatever reason. Why not simply scroll back the chart to 

the very end? I have set it to download 100.000 bars. Thank you for your help. :)

제품을 구매하거나 렌트한 사용자만 코멘트를 남길 수 있습니다