For example it would be something like this:
foreach (element in vector){
Enterlong(element)
wait(1 second)
}
So that if I want to buy 9 contracts in series 4 contracts, one second later 3 contracts and another second later 2 contracts it would be a set vector [4,3,2]. However I need to know how to make this loop wait 1 second after each individual order and how to assign this loop to a given hot key.

Comment