Back to builder reference

Condition

compare
entryexitgate

LEVEL comparison on continuous values: lhs op rhs, true every bar the relation holds. USE WHEN: gating on a sustained condition (e.g. close > SMA(200), RSI < 30 throughout the consolidation). DO NOT USE for one-shot edge events — use 'cross' to fire once on the crossing bar. DO NOT USE for membership in a discrete set — use 'in_set'. For named zones inspect builder_discover(action='get', ref='workflow:named_anchor_zone'); for anchor fields use value_ref:anchor.

Category

Price signals

Discriminator

type = "compare"

Roles

entry, exit, gate

Required fields

lhsreqoneOf (31 variants)Left-hand signal (e.g., close, ema(20))
opreqenum: >, >=, <, <=, ==, !=Comparison operator
rhsreqanyOf (2 variants)Right-hand signal or constant

Optional fields

modeenum: level, crossFiring mode. 'level' (default) = true every bar the comparison holds. 'cross' = edge, fires once on the bar the left-hand side first crosses the right-hand side in the op direction.
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.