General question about programming and using several MAs

 
I'm trying to recode my own indicator from a completely different language. I need 7 or 8 moving averages. Can I take them all from one price array, do I need to import a price array for each, or is it better to use the built-in MA several times? Thanks for any help anyone can give, I'm new to MQL5 and to  MT5.
 
Kenny Lewis :
I'm trying to recode my own indicator from a completely different language. I need 7 or 8 moving averages. Can I take them all from one price array, do I need to import a price array for each, or is it better to use the built-in MA several times? Thanks for any help anyone can give, I'm new to MQL5 and to  MT5.

You need eight variables - eight indicator handles will be stored in these variables. Remember: the indicator handle is created ONCE (this is done in OnInit ()) !!!