MQL4 does not seem to have an equivalent of eval/evaluate function where you could enter a string expression like "A<B && C<D" or "1 + 2" so a call like eval("1 + 2") would return 3.
Does anyone have a working solution for this e.g. by importing this function from a dll file or something similar?
I am looking for a solution that does not require me to write/compile my own dll but rather importing a dll that has already been created or a function that someone (clearly brilliant individual) has already written using mql4. As far as I can tell, the typical Windows API dll files do not include this function but I could be wrong (which would be great since then it should be simple to import it).
Any suggestions welcome.
Aim
Does anyone have a working solution for this e.g. by importing this function from a dll file or something similar?
I am looking for a solution that does not require me to write/compile my own dll but rather importing a dll that has already been created or a function that someone (clearly brilliant individual) has already written using mql4. As far as I can tell, the typical Windows API dll files do not include this function but I could be wrong (which would be great since then it should be simple to import it).
Any suggestions welcome.
Aim