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
Hello,
I have an expert that has string variables that I am generating at runtime and would like to parse these and evaluate it as an expression? How am I able to do this? For example:
string strIForce = "iForce(\"GBPJPY\", 0, 13, MODE_SMA, PRICE_CLOSE, 0)";
double iForceDbl = 0;
iForceDbl= Evaluate(strIForce);
This is just how I would assume it to work if there was an Evaulate function, however, I do not know which API I should import if any to use such a function. Thanks in advanced.