capilta:
Get rid of the while()loop and work with ticks as they come.
Dear guy.
I made a EA. with also loop code for show time left for candle close. code is below. but it is not work perfect. sometime new candle but still countdown, countdown not reset. i want. when new tick come then countdown will be reset and update with main time. and when tick not come then loop run.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear guy.
I made a EA. with also loop code for show time left for candle close. code is below. but it is not work perfect. sometime new candle but still countdown, countdown not reset. i want. when new tick come then countdown will be reset and update with main time. and when tick not come then loop run.