Gin2020: but MT4 is skipping years and tests only 2015.1.1 to 2017.8.7
-
Why did you post your MT4
question in the Root / MT5 EA
section instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon. - Download history (current TF and all lower ones) for your test period.
- here's how you can get all available from your broker.
- On MT4: Most brokers only have 32 or 65K bars of history per timeframe. That's 45 days of M1, 2.5 years on M15, etc.
- Quickly DL all available history from your broker: Problem loading historical data - MQL4 programming forum
Gin2020:
In future please post in the correct section.
I will move this to the MQL4 and MT4 section

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am trying to test ea on open prices only from 2015.1.1 to 2020.4.7 but MT4 is skipping years and tests only 2015.1.1 to 2017.8.7
chart H1 H4
when I use M1 open prices only then it works fine
how to fix this?
Every tick test works fine for any period
GBPUSD60 - 7 MB
GBPUSD1 - 380 MB
with or without bar control still same bug
void OnTick()
{
static datetime Time0; if (Time0 == Time[0]) return; Time0 = Time[0];
printf ("new bar here?");
return ;