@ambrogio Wow i feel like a real chop, thanks, clearly working late nights on this has made my eyes lazy and missed such a small error.
Best posts made by JamesDaly
-
RE: Each trade with trailing block only trailing two trades HELPposted in Questions & Answers
-
RE: How to read Multi column and row CSV file and search each lineposted in Questions & Answers
just to let you know i came right
string line_read[6][31]; //assign array of string that will store 6 columns 29rows of csv data
int row=1,col=0,i=0; //column and row pointer for the array
int j=0;
while(i<5)
{
i++; //Increment variable
handle=FileOpen(tempFileName,FILE_CSV|FILE_READ|FILE_ANSI,","); //comma delimiter
if(handle>0)
{
while(true) //loop through each cell
{
CurrencyPair=(string)FileReadString(handle);
BuyOrSell=(string)FileReadString(handle);
Bias=(double)FileReadString(handle);
TP=(double)FileReadString(handle);
Risk=(double)FileReadString(handle);
ATR=(double)FileReadString(handle);
//if (i==3)break;
if (StringFind(Symbol(),CurrencyPair,0)>-1)break;
//string temp = FileReadString(handle); //read csv cell
if(FileIsEnding(handle)) break; //FileIsEnding = End of File
if(FileIsLineEnding(handle)); //FileIsLineEnding = End of Line
//i=i+1;
}FileClose(handle); break;}
else
{
if(j == 5)
{
Comment("File "+tempFileName+" not found, the last error is ", GetLastError());
}
Sleep(1000); //1 Second
}
}
Latest posts made by JamesDaly
-
RE: unable to compile e. keep getting server busy or stuck on processingposted in Bug Reports
it just hangs on this window.

it seems i can compile smaller ea's but this one just hangs? but it worked a few back.
-
unable to compile e. keep getting server busy or stuck on processingposted in Bug Reports
Good day
I'm having an issue for about the last week to compile my ea's. It either times out or i get a message saying cannot be reached.
Regards
James -
> < = X> X< ENUM or something elseposted in Questions & Answers
Is there a way to have this option inside the .ex5,
Iv tried using ENUM, StringCompre and int double everything but this field wont give me a drop down in my ea input field.

-
RE: Selecting a character from a listposted in Questions & Answers
Has anyone figured this out, The condition block im sure would use some sort of Enum function but i have no clue. maybe 0=>,1=<,2=X< .... etc
-
RE: How to read Multi column and row CSV file and search each lineposted in Questions & Answers
my file is compiled from a exce/googlel document that has some calculations i run
-
RE: How to read Multi column and row CSV file and search each lineposted in Questions & Answers
just to let you know i came right
string line_read[6][31]; //assign array of string that will store 6 columns 29rows of csv data
int row=1,col=0,i=0; //column and row pointer for the array
int j=0;
while(i<5)
{
i++; //Increment variable
handle=FileOpen(tempFileName,FILE_CSV|FILE_READ|FILE_ANSI,","); //comma delimiter
if(handle>0)
{
while(true) //loop through each cell
{
CurrencyPair=(string)FileReadString(handle);
BuyOrSell=(string)FileReadString(handle);
Bias=(double)FileReadString(handle);
TP=(double)FileReadString(handle);
Risk=(double)FileReadString(handle);
ATR=(double)FileReadString(handle);
//if (i==3)break;
if (StringFind(Symbol(),CurrencyPair,0)>-1)break;
//string temp = FileReadString(handle); //read csv cell
if(FileIsEnding(handle)) break; //FileIsEnding = End of File
if(FileIsLineEnding(handle)); //FileIsLineEnding = End of Line
//i=i+1;
}FileClose(handle); break;}
else
{
if(j == 5)
{
Comment("File "+tempFileName+" not found, the last error is ", GetLastError());
}
Sleep(1000); //1 Second
}
} -
RE: Multi-Symbol EAs Strategy Tester codeposted in Bug Reports
@tipsywisdom i couldn't find your tutorial on multiple pair back testing. please link it in this chat.
i have figured a work around which is to set market for each tick but having some issues with the trade management side not updating each trade with the correct trailing stops and other things. are pulling in from the other pair before updating.
-
RE: Multi-Symbol EAs Strategy Tester codeposted in Bug Reports
@tipsywisdom you know how to backtest multiple symbols at one time please share your project
-
RE: Multi-Symbol EAs Strategy Tester codeposted in Bug Reports
Hi
from some further reading it seems this would have to be built into fxdreema as even with custom blocks we cannot use the #include function and we need this to enable #include <StdLibErr.mqh>Please consider adding this. Multiple currency back testing is crucial to building portfolio EA's
-
RE: Possible to insert dll import code ?posted in Questions & Answers
I was just wondering did you ever come right with this request.
Im trying to include the #import "wininet.dll" into my fxdreema code but im not coming right.