Can you tell me which is better - a VPS server or a dedicated one? I've read all sorts of reviews, dedicated is better, but all reviews before 2010. Now the situation must have changed. By "better" I mean stable, reliable, uninterrupted.
Good time, how to add a new line to the finished file.csv, with a shift to the 1st line - if possible? Or some other way, but without recalculating/recycling the existing data. Is it allowed to update the names of columns and rows
In general, the problem is that the system swearing at the three-dimensional array where the axis j,k must be huge values, here I think to put everything into a text editor as storage, if necessary, to process it.
I may need to use\n when writing, but I don't know howyet.
The value of the first line is the cap, the second line is 0 for all columns always, filling comes from the 2nd line
Good time, how to add a new line to the finished file.csv, with a shift to the 1st line - if possible? Or some other way, but without recalculating/recycling the existing data. Is it allowed to update the names of columns and rows
In general, the problem is that the system swearing at the three-dimensional array where the axis j,k must be huge values, here I think to put everything into a text editor as storage, if necessary, to process it.
I may need to use\n when writing, but I don't know howyet.
The value of the first line is the cap, the second line is 0 for all columns always, filling goes from the 2nd line
If writing an array, wouldn't it be better to use the array write function? https://docs.mql4.com/ru/files/filewritearray
Esteemed experts advise: how to MT4 instaforex to insert a screenshot, in a message on this forum (if you can - in detail - "on the fingers" for not very bright)
vitek2010: Dear Experts advise: how to MT4 instaforex to insert a screenshot, the message on this forum (if you can - in detail - "on the fingers" for not very bright)
1. Save the screenshot on your computer, press Ctrl+Alt+I, specify the desired picture. That's all.
2. If from a network, the same, but instead of the path to the file on the local drive - to specify a link to the image on the network.
Good time, how to add a new line to the finished file.csv, with a shift to the 1st line - if possible? Or some other way, but without recalculating/recycling the existing data. Unless it's allowed to update column and row names
int GenerateCsv(string fileName) { int handle= FileOpen(fileName,FILE_CSV|FILE_WRITE," "),x=0,y=0;
Remove FILE_CSV, use FILE_ANSI instead if you use "\n\t"format etc.
Good time, how to add a new line to the finished file.csv, with a shift to the 1st line - if possible? Or some other way, but without recalculating/recycling the existing data. Is it allowed to update the names of columns and rows
{
int handle= FileOpen(fileName,FILE_CSV|FILE_WRITE," "),x=0,y=0;
string str="";
if(handle<1)
{
Print("Error:",GetLastError());
return(handle);
}
else
{
str="";
for(x=0; x<ARRAY_SIZE_X; x++)
{
str = str + DoubleToString(arrayIndexX[x]);
str = str + "\t";
}
FileWrite(handle,PrepareString(str));
for(y=0; y<ARRAY_SIZE_Y; y++)
{
str = "";
str = str + DoubleToString(arrayIndexY[y]) + "\t";
for(x=0; x<ARRAY_SIZE_X; x++)
{
str = str + DoubleToString(arrayZ[0][x][y]);
str = str + "\t";
}
FileWrite(handle,PrepareString(str));
}
}
FileClose(handle);
return(handle);
}
In general, the problem is that the system swearing at the three-dimensional array where the axis j,k must be huge values, here I think to put everything into a text editor as storage, if necessary, to process it.
I may need to use\n when writing, but I don't know how yet.
The value of the first line is the cap, the second line is 0 for all columns always, filling comes from the 2nd line
Good time, how to add a new line to the finished file.csv, with a shift to the 1st line - if possible? Or some other way, but without recalculating/recycling the existing data. Is it allowed to update the names of columns and rows
{
int handle= FileOpen(fileName,FILE_CSV|FILE_WRITE," "),x=0,y=0;
string str="";
if(handle<1)
{
Print("Error:",GetLastError());
return(handle);
}
else
{
str="";
for(x=0; x<ARRAY_SIZE_X; x++)
{
str = str + DoubleToString(arrayIndexX[x]);
str = str + "\t";
}
FileWrite(handle,PrepareString(str));
for(y=0; y<ARRAY_SIZE_Y; y++)
{
str = "";
str = str + DoubleToString(arrayIndexY[y]) + "\t";
for(x=0; x<ARRAY_SIZE_X; x++)
{
str = str + DoubleToString(arrayZ[0][x][y]);
str = str + "\t";
}
FileWrite(handle,PrepareString(str));
}
}
FileClose(handle);
return(handle);
}
In general, the problem is that the system swearing at the three-dimensional array where the axis j,k must be huge values, here I think to put everything into a text editor as storage, if necessary, to process it.
I may need to use\n when writing, but I don't know how yet.
The value of the first line is the cap, the second line is 0 for all columns always, filling goes from the 2nd line
Dear Experts advise: how to MT4 instaforex to insert a screenshot, the message on this forum (if you can - in detail - "on the fingers" for not very bright)
1. Save the screenshot on your computer, press Ctrl+Alt+I, specify the desired picture. That's all.
2. If from a network, the same, but instead of the path to the file on the local drive - to specify a link to the image on the network.
1. Save the screenshot on your computer, press Ctrl+Alt+I, specify the desired picture. That's all.
2. If from network, the same, but instead of path to the file on the local disk - specify the link to the image in the network.
Screenshots of the MetaTrader platform
EURCHF, H4, 2017.01.05
InstaForex Group, MetaTrader 4, Real
FileWriteArray
Good time, how to add a new line to the finished file.csv, with a shift to the 1st line - if possible? Or some other way, but without recalculating/recycling the existing data. Unless it's allowed to update column and row names
{
int handle= FileOpen(fileName,FILE_CSV|FILE_WRITE," "),x=0,y=0;
Remove FILE_CSV, use FILE_ANSI instead if you use "\n\t"format etc.