Post all relevant code. Most likely the problem is above the line indicated, or possibly the method declaration.
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problem
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problem
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.
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;}
got solved. Thanks all
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register