2359: i have errors like: iMA wrong parameters count and PRICE_CLOSE improper parameter can t be used. How can i fix that
Perhaps you should read the manual and call with the correct parameter count.
Your code | Documentation |
---|---|
int BigMADefinition=iMA( _Symbol, _Period, 50, MODE_SMA, PRICE_CLOSE ); | int iMA( string symbol, // symbol name ENUM_TIMEFRAMES period, // period int ma_period, // averaging period int ma_shift, // horizontal shift ENUM_MA_METHOD ma_method, // smoothing type ENUM_APPLIED_PRICE applied_price // type of price or handle ); |
William Roeder:
ok thanks i will try it
Perhaps you should read the manual and call with the correct parameter count.
Your code | Documentation |
---|---|
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
int ShortMADefinition=iMA(_Symbol,_Period,10,MODE_SMA,PRICE_CLOSE); ,
i have errors like: iMA wrong parameters count and PRICE_CLOSE improper parameter can t be used.
How can i fix that