wusuowei:
for example,
double STD= iStdDev(NULL, 0, maslowLength, 0, MODE_SMA, PRICE_CLOSE, 1);
double STDma= iMA( NULL, 0,maslowLength ,0, MODE_EMA, STD, 0) ;
the journal said " invalid integer number as parameter 6 for 'iMA' function".
sorry i am a totally rookie for MT4 programming.
Don't be sorry . . . read the documentation. iMA() what is STD ? it's a double, what does iMA() need ?
You need to look at iMAOnArray() instead, and search for some post on the subject in the last 2 months.
thanks a lot.
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
for example,
double STD= iStdDev(NULL, 0, maslowLength, 0, MODE_SMA, PRICE_CLOSE, 1);
double STDma= iMA( NULL, 0,maslowLength ,0, MODE_EMA, STD, 0) ;
the journal said " invalid integer number as parameter 6 for 'iMA' function".
sorry i am a totally rookie for MT4 programming.