Forum

Need Help Clearing Errors

Hi, I'm still having trouble clearing errors. Which consists of 'CloseAllMarketOrders'-struct or Class type expected, 'Trade'-struct or class type expected, and 'DeleteAllPendingOrders' struct or class type expected. I will post my code below and following I will post my include file code. Any help

'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

Include File Error

Hello, I'm trying to add an include file to my EA but when I try to compile the error says the file can't be opened. Can someone assist me