implicit conversion from 'number' to 'string'
ADXmain = iADX(0,0,14,PRICE_CLOSE,MODE_MAIN,1);
I can compile this
Are there any includes?
Try to change function type as double not void.
But it is still incorrect.
The reason it warned you about implicit conversion from number to string is that the first position is a string and its the symbolname.
You should use