Errors while compiling a sample MACD Expert coming with MQL5 ?

 

'expert' - struct member is undefined Trade.mqh 311 14
'expert' - struct member is undefined Trade.mqh 332 39
'trade_operation' - undeclared identifier AccountInfo.mqh 324 41
'AccountFreeMarginCheck' - function is not defined AccountInfo.mqh 324 11
'RefreshRates' - member function is not defined MACD Sample.mq5 389 17
'OP_BUY' - undeclared identifier MACD Sample.mq5 405 37
12 error(s), 2 warning(s) 1 1


Please Help?

Reason: