help needed with indicator

 

problem solved!!

 
double USD[];
 
qjol:

Hi qjol,

I removed some irrelevant code and accidently removed double USD[] from the example above also, the problem remains also with USD[]. Any idea what else it could be?

Thanks!

Reason: