CHARTEVENT_CHART_CHANGE - Missing events (Bug?) - page 2

 
Doerk Hilger #:

it takes up to 4 (FOUR!) seconds until ChartGetDouble() returns.

Try this.
ChartGetDouble(-1, CHART_PRICE_MAX)
 
fxsaber #:
Try this.

Why? 

 
Doerk Hilger #:

Why? 

The program will access its chart directly, rather than through the general queue.

 
fxsaber #:
Try this.
fxsaber #:

The program will access its chart directly, rather than through the general queue.

Where is this coming from ? Do you have a link please ?

If it doesn't wait for the queue to be executed that means you could get wrong values.

 
Alain Verleyen #:

Where is this coming from ? Do you have a link please ?

https://www.mql5.com/ru/forum/342090/page50#comment_18647629

https://www.mql5.com/ru/forum/383101/page5#comment_26356569


I seem to have forgotten a bit. It was about creating your own events for the chart.

MT5 и скорость в боевом исполнении - Попробуйте сделать обходное решение. Введите TimeCurrentMsc в MQL5.
MT5 и скорость в боевом исполнении - Попробуйте сделать обходное решение. Введите TimeCurrentMsc в MQL5.
  • 2020.10.08
  • fxsaber
  • www.mql5.com
Иначе можно много терять на соединении с Print-снепшотом. На быстрой машине такое решение значительно быстрее обычного подхода. автоматическим торговым системам и тестированию торговых стратегий. что через -1 асинхронность того же Алерта не реализовать