Ticks issue

 

I know that EA's are executed every tick. However, let me build this scenario for you:


1)I have one EA in one MT4 but it's receiving info on real time from outside.

2)Let's suppose that every tick arrives every 10 seconds, but the info from outside is available every 2 seconds.


I will miss 5 pieces of data from outside if i wait until the next tick to come... then my question is:

Is there some way to process this missing information inside the EA before the next tick arrives??

Impossible?

No way?

Limitation of MT4?


Please suggest me any solution.

Thanks in advance


kaleb

 

K

You can keep a loop going in MT4 that will check your outside feed every n milliseconds, independant of any ticks

To then access prices, etc you would need to RefreshRates()

Good Luck

-BB-

 
If the ticks are slow in coming, that means the price is not changing fast, so what's the hurry?
Reason: