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 2014.05.03 12:03 
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
31166
Alain Verleyen 2014.05.03 14:16  
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 2014.05.03 15:51  
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 2014.05.03 16:04  
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 2014.05.04 15:33  
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