I’d found this:
You can save fxt with a diferent name (i.e.: xEURUSD1_0.fxt). Then, in init function you can rewrite the fxt files generated by tester.
#import “kernel32.dll”
int CopyFileA(string strExistingFile, string strCopyOfFile, int OverwriteIfCopyAlreadyExists);
#import
int init() {
//## FXT FILE PATCH
int time=Period();
string symbol=Symbol();
string strCurrentFile = TerminalPath() + “\tester\history\x”+symbol+time+”_0.fxt”;
string strNewName = TerminalPath() + “\tester\history\”+symbol+time+”_0.fxt”;
int copy=CopyFileA(strCurrentFile, strNewName, 0);
Print(“FXT file copied”);
return(0);
}
I’ll try it.