If you search the forum, you will find some threads I've very recently contributed to, which will help your understanding of how the strategy tester does its business.
Let me know if you need further info.
CB
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
How does MT4's strategy tester handle price action within each bar, if you test using "open prices only"?
For instance, I have the hourly bar below:
O: 1.4400
H: 1.4460
L: 1.4300
C: 1.4400
and I buy on the open @ 1.4400 with a SL @ 1.4350 + a TP @ 1.4450. Both limit orders can be filled at some point during this hour. Does MT4 actually use tick by ticker data to reconstruct the interval's price action to determine whether I get stopped out or my TP is filled first? Clearly this makes a huge difference, as I'd be happier if the px actually went 1.4400==>1.4450==>1.4350==>1.4300==>1.4400 than 1.4400==>1.4350==>1.4450==>1.4300==>1.4400 but whether MT4 models this correctly in backttesting is crucial, otherwise the results wld be riddled with false hits.