for some kind of backtesting I would like to know, if it is possible to get the price for a certain past time, including the seconds.
For example I took a trade at 4:35:42 with 5 minutes expiry on BO I would like to know the price of 4:40:42. So not the close or open, but the correct price of that specific second.
It should work on MT4...
Any ideas on this? Thanks in advance!
While it is possible, it is not straightforward.
MT4 doesn't store tick data, so you would have to harvest your own (i.e write the ticks to file as they come in, remembering to take care of missing ticks etc) and then use that as the data source for your backtesting.
You'd have to ask yourself if you really want all that effort. You'd have to harvest a meaningful amount of data (in real time) before you could even start to think about using it for backtesting.
Thanks, honest_knave for your reply. Ok, then I really have to think it over. But I wonder, how the strategy-tester works with tick-data. Doesn´t he use the same historic data?