EA only after number of ticks

is there a code to execute (especially test) an EA at certain (user defined) intervals  of incomings ticks instead of each tick (with OnTick)?

for hints, thanks in advance

please visit this page

https://www.metatrader5.com/en/terminal/help/tick_generation

thank, hope can help

Real and Generated Ticks - Algorithmic Trading, Trading Robots - MetaTrader 5 Help
Real and Generated Ticks - Algorithmic Trading, Trading Robots - MetaTrader 5 Help
  • www.metatrader5.com
Ticks are required for testing and optimizing Expert Advisors, because they use tick data for operation. Testing can be performed on real ticks...