i'm trying to create a virtual multi-currency backtesting tool in MT4.
I have an issue with iMA(). as far as i know, iMA uses Close in its computation, meaning the tick data, but when i try to compute iMA on other pair than the one selected in the Strategy Tester, i have constant outputs for the whole selected period
whereas if i select the same Symbol as the Strategy tester, i have different values of iMA every tick.
Is there a solution to that issue?
can't i open the history files directly and look for tick data there ?
There is no "tick" data in the history files, only "bar" data, namely Open, High, Low, Close, etc.
No, you are mistaken. The normal history files ".hst" have no tick data, only OHLC Bar data. However, when you use the Strategy Tester under normal conditions, it generates ".fxt" files with "emulated" tick data based on the Bar data.
TickStory, on the other hand, produces ".fxt" files (which you have to make read-only, so that MT4 does not overwrite them) that have "real" tick data and not "emulated" tick data.
TickStory, also generates the accompanying ".hst" files (that include only OHLC bar data), but if you only want OHLC Bar data generated (i.e. only the ".hst" files), then un-select all the "FXT" timeframes.
EDIT: However, please note that TickStory is a 3rd Party tool and that it should not really be discussed here, but rather you should use its own forum to address issues with its use.
You can open FXTs as long as they are in the sandboxed area and not the normal "history" folder. However, more importantly, do you even know how to read the FXT structure?
It will probably be easier for you to read your "own" file structure, which you can export from TickStory (please refer to their Documentation and Forum on how to do that).
To add comments, please log in or register