Hi guys!
Is it possible to automatically raise event every x milliseconds?
I want my EA to run every x milliseconds and not every tick, therefore i thought maybe i can raise event every x milliseconds .
You can perform certain actions under the following conditions:
1. With the new tick - OnTick()
2. At regular intervals (not less than one second) - OnTimer()
3. After the commission of certain trading operations - OnTrade()
4. When generating events BookEvent - OnBookEvent()
5. When generating events ChartEvent - OnChartEvent(). Actions on the chart or obtained by EventChartCustom()
- www.mql5.com
You can perform certain actions under the following conditions:
1. With the new tick - OnTick()
2. At regular intervals (not less than one second) - OnTimer()
3. After the commission of certain trading operations - OnTrade()
4. When generating events BookEvent - OnBookEvent()
5. When generating events ChartEvent - OnChartEvent(). Actions on the chart or obtained by EventChartCustom()
Thanks Vladimir.
The onTimer is the closest to what i need, i'll test if the results are better this way.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys!
Is it possible to automatically raise event every x milliseconds?
I want my EA to run every x milliseconds and not every tick, therefore i thought maybe i can raise event every x milliseconds .