Forum

Championship 2008 - Question on Rule 6

I have submitted an EA which need to queries all 12 pairs before making calculation and opening trades. However, the backtesting module of MQL4 does not allow querying prices other than the one it is attached, so it will not execute any trade in backtesting. The question is how can the EA ever be

How to use RefreshRates() correctly? sometimes not working...

I wish to retrieve the close price of the previous bar for 12 pairs, at the appearance of each new bar on a 30min chart. I have used RefreshRates() before retrieve the close price of previous bar, and even adding a 40 sec delay, but it seems like sometimes still getting non-updated because the