Error conversion from MQL4 to MQL5

 

Well guys I finished the conversion from a Custom Indicator from MQL4 to MQL5. However I am getting a error which I can not fix, which is Function already defined and has a body. The error is coming from this line.

}
ENUM_TIMEFRAMES TFMigrate (int tf)
{
Reason: