Error: 'NormalizeComponentValue' - unexpected token, probably type is missing?

harry.jh  
//+------------------------------------------------------------------+
Indicator::NormalizeComponentValue(const double &componentValue[],const datetime &strategyTime[],double &output[],int ltfShift)
harry.jh  

Hi William,

Sharing with you the file which has this error.

Files:
maeama.mq5  259 kb
William Roeder  
Class definition: double{], datetime{], double[], and int.
 class Indicator
  {
protected:
   double            Sigma();
   double            Epsilon();
   void              NormalizeComponentValue(
        const double &componentValue[],
        const datetime &strategyTime[],
        double &output[],
        int ltfShift);
Call: double[], datetime[], double[], int.
      double value[];
      NormalizeComponentValue(
        Component[i].Value,
        strategyDataSet.Time,
        value,
        ltfShift);
You have a global function named Time.
datetime Time(string symbol,ENUM_TIMEFRAMES period,int bar)
You also have a member named Time.
class DataSet
⋮
    datetime   Time[];

I think you've confused the compiler.

Samuel Manoel De Souza  
harry.jh:

you forgot the returning type. examples are below...

void Indicator::NormalizeComponentValue(const double &componentValue[],const datetime &strategyTime[],double &output[],int ltfShift) {return;}
or
bool Indicator::NormalizeComponentValue(const double &componentValue[],const datetime &strategyTime[],double &output[],int ltfShift) {return true;}
harry.jh  

got solved. Thanks all