I want an explanation as to how mt4 executes functions.

1) if we've got 100 bars of information, does mt4 store the information in a array, with earliest being bar1, and also the most current being pub 100 e.g.,
near [1] is the earliest near, and near [100] is your current near?

2) for(I=Bars-10;igt;1;I--)
how does mt4 evaluate this, or how does it calculate the loop?

3) what exactly does highest(Null,0,Mode_high,10,10 1) return, what's mt4 performing here?

Liz