Download MetaTrader 5

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

To add comments, please log in or register
burgie
214
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?
Alain Verleyen
Moderator
32429
Alain Verleyen  
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
214
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
1401
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
214
burgie  
deysmacro:

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


Sure :-)
To add comments, please log in or register