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
Hi,
I've recently encountered unexpected results when testing my EA on MT4's Strategy Tester.
After a little investigation, I've suspected that OnTick() function does not actually get called on every tick,
So I've created a new, very simple 'EA'.
The only thing in this EA is this line of code under OnTick-
To my surprise-
The backtest is sometimes missing whole days of ticks (!!!)
I've downloaded tick data from DukasCopy,
And also, When checking 'Visual Mode', I can clearly see on chart that the tick data is available,
So I don't understand why the Strategy Tester is missing those ticks.
Attached a screenshot of backtested settings and the code for the 'EA'.
Strategy Tester settings is-
Model- 'Every Tick'
Optimization is off
I've tried searching in google and in here, but didn't find a single person complaining about this issue.
Do you guys have any idea why I'm getting this weird behaviour?