MathMmean undeclared identifier pproblem

 

Hi everyone

I need to use some statistical functions such as Mean and Variance functions in my mql5 code, But I realized these functions are not available and cause error undeclared identifier. 

Should i install or include <> something? Can anyone help? 


MQL5 forum
MQL5 forum
  • www.mql5.com
MQL5: Forum on automated trading systems and strategy testing
 
It does have Simple Moving Average and Standard Deviation.
 
DrEsi:

Hi everyone

I need to use some statistical functions such as Mean and Variance functions in my mql5 code, But I realized these functions are not available and cause error undeclared identifier. 

Should i install or include <> something? Can anyone help? 


Look up statistics in the documentary and do it as shown in the example code.
 
DrEsi:

Hi everyone

I need to use some statistical functions such as Mean and Variance functions in my mql5 code, But I realized these functions are not available and cause error undeclared identifier. 

Should i install or include <> something? Can anyone help? 


Look up statistics in the documentary and do it as shown in the example code.
Reason: