Compare the current ask price or high price with 100 positions array

 
Hey

I need to compare the current price, or the high price of the current candle to a 100 positions array

Something like....

if current price or high price > array[i] in a for statement then open sell position...
 
What is a "100 positions array" exactly ?
Reason: