Help Needed with iMA Function Parameter Error in MQL5 - page 2

 
Ashutosh Mishra #:
double emaFast = iMA(_Symbol, PERIOD_M1, FastEMA, 0, MODE_EMA, PRICE_CLOSE, 0);

double emaSlow = iMA(_Symbol, PERIOD_M1, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, 0);


having error 

you expect an answer?   

what error?

did you read the posts above? 

 
Ashutosh Mishra #:
double emaFast = iMA(_Symbol, PERIOD_M1, FastEMA, 0, MODE_EMA, PRICE_CLOSE, 0);

double emaSlow = iMA(_Symbol, PERIOD_M1, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, 0);

Asked and previously answered. Reread #5.
 
Is mql5 allow to create EA using sensitive value such as 1  on close 
 

That's iMA for MQL4. in MQL5 you will have to declare handler for each ema in OnInit() function. Then in OnCalculate() function, you use CopyBuffer() and ArraySetSeries() method to copy data from the handler and sort the data.