Calculating a 15 day high - Newbie

 
Could anybody tell me how to calculate a 15 day high. Do I use an array and then if-then-else-statements ? Like, If high[1]>high[0] then high[1] else ect.......
Thanks in advance for the answer.,
 

it = iHigh(Symbol(), PERIOD_D1, iHighest(Symbol(), PERIOD_D1, MODE_HIGH, 15, 0));

Reason: