You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
tester_file
string
File name for the tester, specifying the extension, enclosed in double quotes (as a constant string). The specified file will be passed to the tester for operation. Input files for testing, if needed, should always be specified
This is from the help. The"tester_file" parameteruniquely identifies the file name.
Hence the question: how can an EA be tested if several files have to be opened on read?
Hello!
This construct (for instance) :
if (Buf[i]>=0 && MACD_i<=0)
Operator1
.............
OperatorN
In this case, Operator1......OperatorN will always be executed
Since there are no opening parentheses after if (Condition) { }
When checking syntax errors, please make the compiler generate a warning on this issue.
Sometimes constructions are huge and multi-leveled and it is very hard to find an error in such cases.
If there is no { }, then Operator2 will always be executed... OperatorN
and Operator1 only when the condition is met.
This is a normal construction and a warning would be inappropriate here.
Fia:
Because constructions can be huge and multi-level and it is very difficult to look for an error then.
What (or who) prevents you from putting the missing { }?
...
Because constructions can be huge and multi-level and it is very difficult to look for an error then.
Hello!
Plz help, I'm stuck...
There is this code - read from CSV file (in the trailer). After FileReadString execute, it's not name of symbol (like in file), but long set of nothing. And here it is the end of the file. Separator is tab, so it explicitly shouldn't be specified in FileOpen, code table by default, number of characters - before separator (CSV). Where did I screw up - the code is a bit?
Hello!
Please help, I'm stuck...
There is this code - read from CSV file (in the trailer). After FileReadString execute, it's not name of symbol (like in file), but long set of nothing. And here it is the end of the file. Separator is tab, so it explicitly shouldn't be specified in FileOpen, code table by default, number of characters - before separator (CSV). Where did I screw up - the code is a bit?
All because of FILE_ANSI?
Didn't notice the elephant, thank you!
tester_file
string
File name for the tester, specifying the extension, enclosed in double quotes (as a constant string). The specified file will be passed to the tester for operation. Input files for testing, if needed, should always be specified
This is from the help. The"tester_file" parameteruniquely identifies the file name.
Hence the question: how can we test an EA if several files must be opened for reading?
Can you suggest this too?