string file_name=(Symbol()+".csv"); // variable for storing file namesstring filter=".csv"; // filter for searching the files//--- receive the search handle in the local folder's rootlong search_handle=FileFindFirst(filter,file_name);
//--- check if FileFindFirst() executed successfullyif(search_handle!=INVALID_HANDLE)
{
//--- searching files in the loopdo
{
//--- reset the error valueResetLastError();
//--- receive the file creation datePrintFormat(Symbol()+".csv"+" file deleted!",file_name);
//--- delete the old fileFileDelete(SubFolder+"\\experts\\files\\"+Symbol()+".csv");
}
while(FileFindNext(search_handle,file_name));
//--- close the search handleFileFindClose(search_handle);
}
else
{
Print(Symbol()+".csv"+" File not found!");
return;
}
//--- check what files have remainedPrintFormat("Results:");
那么有什么问题呢?
写道。
2013.03.25 16:23:25 TransMission (EURUSD,M1) EURUSD.csv 文件未找到!
写道。
2013.03.25 16:23:25 TransMission (EURUSD,M1) EURUSD.csv 文件未找到!
我想我必须先关闭该文件,然后再删除它。
显然,你必须先关闭该文件,然后再删除它。
亲爱的先生们。请将你的服务器时间与真实的物理时间同步。
咳咳...其实先生们也有一个真正的实物:)
也许你的电脑需要同步?
咳咳...其实先生们也有一个真正的实物:)
也许你的电脑需要同步?
我能否让我在一个空图表上运行EA时,它所使用的指标也被一起调用?我们说的不是策略测试器,而是一个真实账户的正常图表。
是的,你当然可以。使用ChartIndicatorAdd()函数。
下午
我可以在我的电脑上同时只运行4个MT5终端吗?
...看起来PSP上 没有足够的内存...