Problem with MT4?

 
Hello,

Why does the program within the start() function only run when price changes?

It would be much better if the Expert Advisor ran all the time or every 1 second (not only when price changes)?

Why is the program set up like this?

Thank you.

Regards

RJF
 
You can provide endless loop in the start() function and every 1 second call RefreshRates() function.
What the problem?
 
You can provide endless loop in the start() function and every 1 second call RefreshRates() function.
What the problem?


Hi Slawa, thanks for this. Can I do this in an Expert Advisor? Or do I have to use a script? Is there an example somewhere of how to do this?

Thank you again.

Regards

RJF
Reason: