When are indicators calculated if they are called from an EA?

burgie
217
If use an indicator (custom or not) in my EA, when is that indicator updated? Is it updated on every tick or only when it is called from the EA?
Alain Verleyen
42598
burgie:
If use an indicator (custom or not) in my EA, when is that indicator updated? Is it updated on every tick or only when it is called from the EA?
It's updated when needed.
burgie
217
burgie  
angevoyageur:
It's updated when needed.



Ok, I was suspecting that because it is better for perfomance, but MT isn't always that smart. Thanks!
Syed Naufal Gaddafi
2015
Syed Naufal Gaddafi  
burgie:


Ok, I was suspecting that because it is better for perfomance, but MT isn't always that smart. Thanks!

It really depends on how you code your codes. So, it is not MT's fault if its not smart enough.
burgie
217
burgie  
deysmacro:

It really depends on how you code your codes. So, it is not MT's fault if its not smart enough.


Sure :-)