i think you need to copy close[] to yy[]
nicolasxu:
double yy[];//yy = close[]; // error occurs because the variable yy is not invoked as arrays, whereas yy is declared as an array (double yy[];)
//should:
yy[0]=close[0];
yy[1]=close[1]; // etc
3rjfx:
double yy[];
//yy = close[]; // error occurs because the variable yy is not invoked as arrays, whereas yy is declared as an array (double yy[];)
//should:
yy[0]=close[0];
yy[1]=close[1]; // etc
I see. Thanks!
double yy[];
//yy = close[]; // error occurs because the variable yy is not invoked as arrays, whereas yy is declared as an array (double yy[];)
//should:
yy[0]=close[0];
yy[1]=close[1]; // etc