Hello, I would like to know if is it possible to dynamically evaluate code in mql5?
I mean in the same way you can do with Javascript and PHP with the "eval(...)" function?
Reference: http://www.w3schools.com/jsref/jsref_eval.asp
Regards, cyberglassed.
seems not, what would you use it for?
seems not, what would you use it for?
I wanna load code from an external file based on some criteria.
I am not sure that there is a way to load code into the program only if certain conditions are met, but I know you can code your EAs to use external libraries as code resources. You can also use include files to accomplish this.
- www.mql5.com
I wanna load code from an external file based on some criteria.
There is no eval() in MQL4/5. Please see this forum thread.
However, if you want to load code based on a certain criteria, you can use conditional compilation.
There is no eval() in MQL4/5. Please see this forum thread.
However, if you want to load code based on a certain criteria, you can use conditional compilation.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, I would like to know if is it possible to dynamically evaluate code in mql5?
I mean in the same way you can do with Javascript and PHP with the "eval(...)" function?
Reference: http://www.w3schools.com/jsref/jsref_eval.asp
Regards, cyberglassed.