Mean in MQL4

 

Hi how would I find the mean equation ((Price1+Price2+...Price(n ))/nbars) in MQL4, would i need to calculate this or is there a predefined indicator?

 
12345abc22:

Hi how would I find the mean equation ((Price1+Price2+...Price(n ))/nbars) in MQL4, would i need to calculate this or is there a predefined indicator?


Here is what you need: