States( ARRAY array, ARRAY states (ex : 70|50|30))
RETURNS
NUMERIC ARRAY
DESCRIPTION
Returns an array containing different states. Example: States(perf(close, 20), 10|0|-10) Returns 0 if the array element value is lower then -10, returns 1 if the array element value is between -10 and 0 and returns 2 if the array element value is higher than 10