last close price

 
hello,

i would like to ask you for help, i want to make a my indicator:

the highest close price of the last five period, but i don't know which formula use.


thank you in advance for your help :)
 
extern int length = 5;
..
buffer[shift] = High[Highest(NULL,0, MODE_CLOSE, length, shift)]
Reason: