'DailyTimer'-struct or class type expected

 

Hello.  I've received errors for the following line of code. 

{

tradeEnabled=Timer.DailyTimer(StartHour,StartMinute,EndHour,EndMinute,UseLocalTime);

}


The errors are

'DailyTimer'-struct or class type expected 

'Timer'-struct or class expected


Can someone assist me with these errors? 

 

Timer.DailyTimer(): The dot means Timer is a class or struct object that has a method named DailyTimer.

No one can assist you.

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using SRC).
     How To Ask Questions The Smart Way. 2004
          Be precise and informative about your problem

We can't see your broken code.

Fix your broken code.

Reason: