Do file functions work in stratergy tester
good info, I didn't know that
Is this in the dictionary/help file??
Is this in the dictionary/help file??
cardio,
I've create a dll enable you to save your files outside the MetaTrader 4\experts\files
You can download it with the source code (VC++ & MQL4) from here:
http://www.forex-tsd.com/showthread.php?t=386
I've create a dll enable you to save your files outside the MetaTrader 4\experts\files
You can download it with the source code (VC++ & MQL4) from here:
http://www.forex-tsd.com/showthread.php?t=386
Do file functions work in stratergy tester? I don't think they do
I was trying the following to no avail
int start()
{
//----
int handle;
calculateIndicators();
handle=FileOpen("eurud_1min.csv", FILE_CSV|FILE_WRITE|FILE_READ, ";");
if(handle>0)
{
// write data
FileSeek(handle,0,SEEK_END);
FileWrite(handle, Bid, Ask, Point, isBuying, isSelling);
FileClose(handle);
}
//----
return(0);
}