В тестере прибыль на реале слив депозита?
Нет 100% уверенности в стабильной работе советника?
Останавливаются котировки в терминале?
Установите программу сервис – mtonline и спите спокойно!
В случае, если котировки не поступают в терминал, советник не может контролировать ситуацию на счете, т.к. функция start() выполняется только с приходом нового тика.
Mtonline контролирует поток котировок и в случае его остановки перезагружает терминал.
Mtonline устанавливается в виде сервиса в ОС Windows.
Для бесперебойной работы советника необходимо в функции start() прописать Print(“любой текст или переменные”). С приходом новой котировки советник будет дописывать в файл /experts/logs/ГГГГММДД.log новую строку. Сервис контролирует log советника, и если время изменения log файла меньше чем указано в настроечном параметре в ini фала – перезагружает сервис с MetaTreder.
Необходимым условием является запуск MetaTreder с советником в виде сервиса, например используя программу AppToService.exe
Данный механизм обеспечивает контроль не только потока котировок, но также успешное функционирование советника (исполнение главной функции start()).
Wouldn't it be easier to move the EA code to a looped script?
does rebooting help? always? I had a case where quotes stopped coming for just one pair...
always. log mtonlie shows that quotes stop 4 times a day. And the quotes flow may stop for 30 minutes to 1 hour and then restores itself. How can you track this without installing a special service?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
In the tester, are the profits on the real account draining the deposit?
No 100% confidence in the stability of the Expert Advisor?
Quotes in the terminal stop?
Install the service - mtonline and sleep in peace!
If quotes do not come to the terminal, the Expert Advisor cannot control the situation on the account, because the start() function is performed only with the arrival of a new tick.
Mtonline monitors the quotes flow and reloads the terminal if it is stopped.
Mtonline is installed as a service in Windows.
For a smooth work of the Expert Advisor, it is necessary to write Print("any text or variables") in the function start(). When a new quote comes, the Expert Advisor will add a new line to the file /experts/logs/YYYYMMDD.log. The service controls the Expert Advisor's log, and if the time of changes of the log file is less than specified in the ini parameter of the file - it will reload the service with MetaTreder.
The necessary condition is the running of the MetaTreder with the Expert Advisor as a service, for example using the AppToService.exe programme.
This mechanism provides not only the control of quotes flow, but also the successful working of advisor (the execution of main function start()).