Navigation: Realtest Script Language > Syntax Element Details > InSet Category General-Purpose Functions Description Whether a value is in a specific set of values Syntax InSet(value, value1, value2, value3, ...) Parameters value - the value to look up value1...valueN - values to compare it to Return Value 1 (true) if value is one of the set of values, 0 (false) otherwise Notes InSet(Symbol, $AAPL, $GOOGL, $MSFT) is equivalent to: Symbol = $AAPL or Symbol = $GOOGL or Symbol = $MSFT Arguments can be numeric or strings. If strings then comparison is case-insensitive. Copyright © 2020-2025 Systematic Solutions, LLC