Hi guys I keep getting the following error when I try to iterate through an array
foreach
(DateTime TimeStamp in theTickData[0])//Cannot Convert type 'char' to System.DateTime'{
if (TimeStamp >= dtEntryTime){
foreach(string PG in theTickData){
if(PG == theDirection){
foreach (double theRate in theTickData[1]){
alEntryPointEURCHF.Add(theRate);
}
alEntryPointEURCHF.Add(TimeStamp);
alEntryPointEURCHF.Add(Direction);
}
}
}
}
}
The foreach statement comes back with Cannot Convert type 'char' to System.DateTime' Does anybody know why and what I should do to correct this mistake
Thanks,
Harry