In my indicator code have below lines:
DateTime item3 = base.Time[1];
int dayOfWeek = item3.DayOfWeek;
DateTime dateTime3 = Time[0];
int num = dateTime3.DayOfWeek;
I got this error:
Cannot implicitly convert type 'System.DayOfWeek' to 'int'. An explicit conversion exists (are you missing a cast?)
Above functions not return integer?
ow to solve that?
Regards,
Comment