MathMmean undeclared identifier pproblem

DrEsi
9
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? 


MQL5 forum
MQL5 forum
  • www.mql5.com
MQL5: Forum on automated trading systems and strategy testing
William Roeder
26008
William Roeder  
It does have Simple Moving Average and Standard Deviation.
pennyhunter
459
pennyhunter  
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.
pennyhunter
459
pennyhunter  
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.