Back to builder reference

Condition

in_set
entrygate

LEVEL membership on discrete/categorical values: true every bar value ∈ members (or its negation). USE WHEN: gating on SuperTrend direction == +1, regime label in {bull, neutral}. DO NOT USE on continuous values — use 'compare' instead. Cleaner than anyOf(compare(value == m) ...). The discrete-valued counterpart to 'compare'.

Category

Price signals

Discriminator

type = "in_set"

Roles

entry, gate

Required fields

membersreqarray<number>Allowed values (numeric literals, compared with tolerance 1e-9).
valuereqoneOf (31 variants)Value to test for set membership

Optional fields

negatebooleanIf True, fires when value is NOT in members.
typestring-
Quawd

A subscription SaaS platform for designing, backtesting, and paper-trading algorithmic trading strategies on equities and crypto — described in plain English to an AI agent, no code required.

© 2026 Quawd. All rights reserved.

Quawd is a software tool, not a broker-dealer or investment adviser, and does not provide investment advice. Trading involves substantial risk of loss. Backtested and hypothetical results have inherent limitations and are not indicative of future performance.