#include <fxsaber\Calendar\Calendar.mqh> // https://www.mql5.com/ru/code/32430 input int inAmountNews = 5; void OnTick() { CALENDAR Calendar; Calendar.Set(); Comment(Calendar.ToString(0, inAmountNews)); }
Thank you very much for your precious help!
Hi, I have a question, I don't know if it's possible. I've been trying to figure out how to do this all afternoon, but I'm struggling, I'm a beginner in mql5.
I just want to display the date and time of the announcement, like on the screen, is it possible?
Files:
fzfezf.jpg
15 kb
GREED #:
I just want to display the date and time of the announcement, like on the screen, is it possible?
#include <fxsaber\Calendar\Calendar.mqh> // https://www.mql5.com/ru/code/32430 void OnTick() { CALENDAR Calendar; Calendar.Set(); Comment(Calendar[0].time); }
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
Thank you in advance for your help!