Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
Сделать точно такого же советника на основе прилагаемого уже в обновлённом MQL.
Добавить функцию генерации тиков: если не приходит новый в течение "стольких-то [миллисекунд] - генерировать приходящие тики "текущее значение пары 'плюс' [указанное значение]" 'пауза [миллисекунд]' "текущее значение пары 'минус' [указанное значение]", и так пока не придёт новый тик.
"Торговать" советник не должен, только лишь создавать тиковый график.
Прикрепляю также PDF с детальным описанием исходного.
Attached expert's job is to create custom interval charts in real time out of received data. Expert is not new and
have been completed before mt4 build 600, so may not retain it's full
functionality when used on later mt4 builds.
Need the same expert, as original, in order for it to be adapted for newer builds.
Add one feature: generate ticks for the offline chart, that is made by the expert for periods when new ticks has interval larger than [user defined milliseconds].
Ticks are to be generated as follows:
1. new simulated tick=current symbol value+(that's plus)[user value]
2. sleep[ms_value]
3. next tick=current symbol value-(that's minus)[user value]
4. sleep[ms_value]
5. and then back to 1, until new "broadcasted" tick arrives.
No
trades is needed to be done by the expert. Just create offline tick
chart with the generated tick option above and the possibility to turn
that option on and off.
PDF with detailed description of the original expert is in the attachments.