pick - script and chart function

The pick function returns the n:th expression in the list.

Syntax:  

pick(n, expr1[ , expr2,...exprN])

Arguments:  

Argument Description
n n is an integer between 1 and N.