macpee:
Good day all and complement of the Season. My EA user-created files don't seem to be migrating to VPS. This is the file I created using the FileWrite() command. Please any reason and a possible way out.
Can someone give me an example of how to use the #property tester_file "<file_name>" code. Thanks in advance.
My files are in the following form. How can I possibly specify it?
Is it ok to declare as follows even though the file has not been declared globally?
string MyFile = StringConcatenate("MACDPassFile ", ChartSymbol(currChart), ".txt") #property tester_file MyFileor maybe the following:
#property tester_file <StringConcatenate("MACDPassFile ", ChartSymbol(currChart), ".txt")>But even that did not work.
Any element inside your code starting with # are pre-compiler directives and cannot contain code that needs execution at the time of the first compiling pass.
Here some insights:
http://www.cplusplus.com/doc/tutorial/preprocessor/#conditional_inclusions
It is important to understand the difference of pre compile phase and compile phase.
Although they are both in the same file, they are processed at different stages.
Hope this helps.
Dominik Egert:
It helps. Thanks
Any element inside your code starting with # are pre-compiler directives and cannot contain code that needs execution at the time of the first compiling pass.
Here some insights:
http://www.cplusplus.com/doc/tutorial/preprocessor/#conditional_inclusions
It is important to understand the difference of pre compile phase and compile phase.
Although they are both in the same file, they are processed at different stages.
Hope this helps.

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
Good day all and complement of the Season. My EA user-created files don't seem to be migrating to VPS. This is the file I created using the FileWrite() command. Please any reason and a possible way out.
Can someone give me an example of how to use the #property tester_file "<file_name>" code. Thanks in advance.
My files are in the following form. How can I possibly specify it with #property?