New bar event in EA - MQL4 Code Base
- www.mql5.com
New bar event in EA - MQL4 Code Base: expert advisors for MetaTrader
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
Hi
Before I start implementing my own it is worth to ask - is there any cron - like module for MT4/MT5 that would serve as a time check for EA/Indicator?
https://en.wikipedia.org/wiki/Cron
For example: I would like to check something once every hour, 15 minutes etc. inside onTick()
I do not want to use timer https://www.mql5.com/en/docs/eventfunctions/eventsettimer but rather:
1. Check time
2. Execute action every 15 minutes in an hour when first tick arrives eg. 10:00 10:15 10:30 10:45 every day monday-friday