Seek answers for a hard problem

 

Dear Sir or Madam:

I met a difficult problem when using MQL4 programming. I will deeply appreciate if you can offer me some suggestion, clue, or a solution. Thanks a lot.

The problem is: how to update realtime and historic data with a MQL4 program. I need the latest data of at least 100 bars, all timeframe, all pairs(symbol), to monitor the market environment and locate the trading signal.

I have tried RefreshRates( ), but it respond like “zero divide”. I believed it is because there is not enough realtime data.

Thanks again! My email: Simonhua2003@yahoo.com.cn

Simon

 
I'm not sure, may be this article helps you.