Forum

RefreshRates()

I have a little issue with the update of prices. I call RefreshRates() and the Ask and the Bid are updated OK. But the other historic price information are wrong. Any idea why this could be? Many thanks! 09:45:21 test #FDXU2,Daily: Ask: 6747.5 09:45:21 test #FDXU2,Daily: Bid: 6746 09:45:21 test

#ifdef compiler switch

Is there some sort of compiler switch available for mql4 ? Like #ifdef? Thanks

Experts logs deleted regularly

MetaTrader stores the experts logs under "C:\Programme\FxPro - MetaTrader\experts\logs". However there always are only the logs from the last six or seven days. Older logs are somehow deleted. Does anyone know how those log files are deleted? I'd like to keep all the logs. Thank you

iHigh() Problem

I have a problem with strategy tester . When applying High[0], Low[0], Close[0], Open[0] it always returns the same values (although the values are in fact different). If I do High[1], Low[1], Close[1], Open[1] it works as expected. Any idea why this is