Hi there !
On my last post I was wondering how to work with OHLC, founding no solution, I now use for the EA ticks. When I optimize, results appears, but when replayed the results differs. What that could be due to please ?
thanks.
In every tick mode MT4 generates .fxt file (pseudo ticks) to make a test. I said pseudo ticks because those are not real ticks, that means that from time to time it generates new tick file (eg when you update testing period)
So after that even if you go back to prior date from - date to then you will have "new" ticks. If you are testing ea like grid, especialy where multiple positions are closed in the same time, one or few ticks makes
a big difference. The same issue you will find when trading breakouts with breakout buffor etc.
The solution that I use for this, is to use M1 chart, and read all values on closed bars on higher timeframes.
I described it here: http://sharpquant.com/general/ea-testing-why-open-prices/
I hope it helps :)
- 2015.07.13
- Kale
- sharpquant.com
In every tick mode MT4 generates .fxt file (pseudo ticks) to make a test. I said pseudo ticks because those are not real ticks, that means that from time to time it generates new tick file (eg when you update testing period)
So after that even if you go back to prior date from - date to then you will have "new" ticks. If you are testing ea like grid, especialy where multiple positions are closed in the same time, one or few ticks makes
a big difference. The same issue you will find when trading breakouts with breakout buffor etc.
The solution that I use for this, is to use M1 chart, and read all values on closed bars on higher timeframes.
I described it here: http://sharpquant.com/general/ea-testing-why-open-prices/
I hope it helps :)
You know there's ticks between the Open ---> Close. You won't occult it, the new opening candle price may be shifted from a session to another.
I have the same issue, I need real ticks to improve strategies but checking every change on my code by every tick made it long long long, & now expensive ! I hope a solution will be found to answer to that.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi there !
On my last post I was wondering how to work with OHLC, founding no solution, I now use for the EA ticks. When I optimize, results appears, but when replayed the results differs. What that could be due to please ?
thanks.