profjim wrote >>
this line:
double ncoef1b = {ncoef1b0,ncoef1b1}; it is defined as an array earlier.
gives tgis error:
'}' - comma or semicolon expected C:\Program Files\MetaTrader – MB Trading\experts\indicators\Regression1.mq4 (40, 47)
and the semicolon is setting right there! Why?
The font in the help in the bottom window in the editor is HUGE. it takes about 10 scroles across to read one word. What is the fix?
this should be :
double ncoef1b[] = {ncoef1b0,ncoef1b1};
profjim:
I actually copied and pasted that in.....same error after compile.
mql docs Initialization of variables:
'All arrays, including those declared in the local scope, can be initialized with constants only.'
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
this line:
double ncoef1b = {ncoef1b0,ncoef1b1}; it is defined as an array earlier.
gives tgis error:
'}' - comma or semicolon expected C:\Program Files\MetaTrader – MB Trading\experts\indicators\Regression1.mq4 (40, 47)
and the semicolon is setting right there! Why?
The font in the help in the bottom window in the editor is HUGE. it takes about 10 scroles across to read one word. What is the fix?