@fxDreema only one row of data is stored, the last one. Instead of a file with, let's say, a hundred rows, the output file only have one row, always.
Latest posts made by eduardo55
-
RE: "Write to file" blockposted in Questions & Answers
-
RE: "Write to file" blockposted in Questions & Answers
@josecortesllobat Hi, I've the same problem with the "write to file" block today. @fxDreema can you take a look and fix the block?
-
"Write to file" doesn't workposted in Questions & Answers
Hi,
I'm trying to use the "Write to file" block in this way, but it isn't working: https://fxdreema.com/shared/zeyDqsOEc
It only output the last trade of the entire backtest in the csv file, but all the other trades don't appear in the csv file.
Can you check it, please?
Thanks,
Eduardo. -
RE: How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
@miro1360 I'm having a similar problem: My "zero divide" error appears because the MarketInfo (symbol, MODE_POINT) is returning 0. Here's the piece of code that is presenting error:
double PipValue(string symbol="")
{
if (symbol=="") {symbol=GetSymbol();}
return(CustomPoint(symbol)/MarketInfo(symbol,MODE_POINT)); <---- This is the division where the error occurs.
/*
if (symbol=="") {symbol=GetSymbol();}
int digits=MarketInfo(symbol,MODE_DIGITS);
if ((digits==2 || digits==4)) {return(POINT_FORMAT/0.0001);}
if ((digits==3 || digits==5)) {return(POINT_FORMAT/0.00001);}
if ((digits==6)) {return(POINT_FORMAT/0.000001);}
return(1);
*/
}I'm using it for trade the DAX index. Any tip about how to make the EA work with DAX and another CFD's?