CRON - like module for MT5 and MT4

 

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

cron - Wikipedia, the free encyclopedia
  • en.wikipedia.org
The software utility cron is a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its...
 

Forget it, I found a partial solution I need at codebase.

New bar event in EA - MQL4 Code Base
  • www.mql5.com
New bar event in EA - MQL4 Code Base: expert advisors for MetaTrader
Reason: