I need to show Alert when Tick/Start stops for given time in MQL.
adeelpirzada: Hi is there any way to detect if Tick/Start has stopped at some interval
Problem is i don't know where to check that as OnTick function won't trigger when there are no ticks.
I used sleep inside tick and tried to grab previous TICKCOUNT values and compare - didn't work
I tried IsConnected function - didn't work.
Use the OnTimer() event handler. Also, search the forum because this question has already been asked and answered here (I listed two, but there should be more).
- 2018.10.16
- www.mql5.com
Hi is there any way to detect if Tick/Start has stopped at some interval.
Problem is i don't know where to check that as OnTick function won't trigger when there are no ticks.
I used sleep inside tick and tried to grab previous TICKCOUNT values and compare - didn't work
I tried IsConnected function - didn't work.
You might look into FX Blue Auto-Restart for MT4
Here is the link, https://www.fxblue.com/appstore/c2/trader-apps?sort=popularity&page=2
- FX Blue Labs - www.fxbluelabs.com
- www.fxblue.com
Use the OnTimer() event handler. Also, search the forum because this question has already been asked and answered here (I listed two, but there should be more).
Hi is there any way to detect if Tick/Start has stopped at some interval.
Problem is i don't know where to check that as OnTick function won't trigger when there are no ticks.
I used sleep inside tick and tried to grab previous TICKCOUNT values and compare - didn't work
I tried IsConnected function - didn't work.