Highest Value for any indicator in n days
SyntaxHighindaysany[indicator;noofdays;daysbefore]
DescriptionTo get highest value of close in last 5 days use formula

Highindaysany[close[0];5;0]
Example