//--- открытие файла для записи, с флагом совестного пользования для чтенияint han=FileOpen(subfolder+"\\experts\\files\\"+folder+".csv",FILE_WRITE|FILE_SHARE_READ|FILE_ANSI,",");
if(han!=INVALID_HANDLE)// если файл открыт удачно
{
//ЗДЕСЬ ПРОЦЕДУРА ЗАПИСИ В ФАЙЛ
}
Файл открывается для чтения. Флаг используется при открытии файлов (FileOpen()). При открытии файла обязательно должен быть указан флаг FILE_WRITE и/или флаг FILE_READ Файл открывается для записи. Флаг используется при открытии файлов (FileOpen()). При открытии файла обязательно должен быть указан флаг FILE_WRITE и/или флаг FILE_READ Файл...
没有任何变化,仍然显示e+321
它是有效的,这是最简单的解决方案!
下面是一个例子:从所有指标缓冲区 中复制三个项目--从第0条、第1条和第2条。
打印每个缓冲区的第0条的数值。
这正是你需要的,非常 "轻"。谢谢你!
请告诉我MT5终端的共享文件夹的路径
你能告诉我MT5终端的共享文件夹的路径吗?
FILE_COMMON标志负责所有客户终端的共享文件夹。
告诉我MT5终端的共享文件夹的路径
添加FILE_COMMON
https://www.mql5.com/ru/docs/constants/io_constants/fileflags
查找文件夹:在终端:文件-打开数据目录-在Windows资源管理器中向上一级,它将是Common\Files文件夹。