Do i need an Array or List?

 

Hi everyone, 

I'm new to MQL5, so apologies if it's been posted before. 

I want to create either a list, or an array, where i can add/store double values, and be able to reference them. My confusion is that i don't know if i should use a collection, a list, or an array. And I've tried to do all three, but none seem to work as i'd expect, most likely due to my inexperience. 

All i need to create is a single list that i can add double(float) values to, and then reference those values in a for loop. 

If anyone could help clarify,  it would be appreciated.

 
Meta_Work: If anyone could help clarify,  it would be appreciated.

You need a list if you are going to delete values from the low index. An array is simplier.