Evaluate string value as an expression?

 

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.