Hello friends
I am trying to make program read forex patterns from txt file as string .
like this
I tried to convert string to bool by this way in the code below but I could n't
Has anyone idea?
Regards
I am trying to make program read forex patterns from txt file as string .
like this
Inserted Code
"Open[i]>Open[i+1]"
Inserted Code
double[] Open = new double[2]; Open[0] = 1; Open[1] = 2; double i = 0; string w = "Open[i] > Open[i + 1]"; if ([color=Red]Convert.ToBoolean(Convert.ToDouble(w))[/color]) { MessageBox.Show("Ok"); } else { MessageBox.Show("NotOk"); }
Regards