I have an EA what uses OnTimer and I want run tests more optimized. To do it, I though about use the OnTimer only in "Each Tick" modes and disable the timer to use OnTick to call OnTimer in OHLC and only open candle modes. I was unable to find a constant to show me this information.
Is there any way for the EA to know what type of modeling is being performed in the test?
Sorry, I forgot to mention that it is MQL5.
"The minimum interval of 1000 milliseconds is used in the strategy tester."
Thanks Alain. But I avoid to add dll's and low-level dependencies because of the complexity to manage de EA (install in other environments, etc). I'll set the modeling mode as a EA input that will exists only when I compile with a specific #define to control a #ifdef block.
C'est la vie
Please enable the necessary setting in your browser, otherwise you will not be able to log in.