Forum

Different results from the same code

Hi I'm getting different results running the same code on MQL4. I just ran the same code consecutively and the graphs are different, without any adjustments the code or anything else whatsoever. My initial thought is maybe that this is a result of processor load between ticks, because the processor

Import CSV History Data, Timeframes not calculating automatically

Hi All I've imported data into the 1 minute timeframe (EURUSD) in the history center. Does Metatrader not automatically reclaculate the other timeframes from this? My five minute data folder is still empty after the import. The only option to recalculate all timeframes is when I click download, but

timeCurrent server time and my local PC time

Hello I read that TimeCurrent() "Returns the last known server time...The time value is formed on a trade server and does not depend on the time settings on your computer." If my currency pair is for example EURCHF - and my local PC time is for example in South Africa, how do I find out my local PC

Bollinger Bands on Chart and iBands are different

Hello all Please shed some light on this discrepancy with iBands and the bands on the chart. Print (iBands(_Symbol,PERIOD_M5, 20,3,0,Ask, MODE_UPPER,0)); This line should give me the current upper value of the Bollinger Band on the 5min chart (with 3 standard deviations ). The result is printed as