Indicator get load all the time

 

Hello, i have create a indicator and i see in the Experts Journal during backtest the info printed that the indicator get loaded successfult and when i end the backtest i get many time the info that the indicator have been removed.

What is the problem, why does metatrader makes such think, load the indicator hundert times? I just have write one time ICustom() to load him into EA.

 
PlanandTrade:


I just have write one time ICustom() to load him into EA.


i assume in OnTick ?!

so every tick is it reloaded

 
qjol:

i assume in OnTick ?!

so every tick is it reloaded


Use a timer so that it will not load and unload every second ...
 
On tick shouldnt make an EA load and reload an indicator
 

If the indicator has a critical error, would that cause it to be removed and reloaded?

Or would it just be removed once and that is it?

 
I think it would just generate an error in the experts log and be removed, the only thing I have seen cause an indicator to be loaded and removed every tick is if the indicator itself calls another indicator via iCustom()
Reason: