Friends, I made a custom indicator with a basket of symbols to make a signal bullish or bearish for a index.
The indicator works fine and does not freeze during low volume trading hours.
But for high volume trading hours the indicator gets too heavy with the calculations and freezes my entire metatrader 5 platform.
I would be willing to sacrifice some calculations, for example, calling the functionOnCalculateonly 5 times per minute, insted of what it natively does which is to be called for every tick.
How could I slow down the frequency of calling the OnCalculation function?
Friends, I made a custom indicator with a basket of symbols to make a signal bullish or bearish for a index.
The indicator works fine and does not freeze during low volume trading hours.
But for high volume trading hours the indicator gets too heavy with the calculations and freezes my entire metatrader 5 platform.
I would be willing to sacrifice some calculations, for example, calling the function OnCalculate only 5 times per minute, insted of what it natively does which is to be called for every tick.
How could I slow down the frequency of calling the OnCalculation function?