Node reference

Compare

Tests one value against another (or a constant) with a chosen operator.

Rev. 2026.06

Comparecondition
InputsOutputs
A (left)
left · number
B (right or constant)
right · number
Compare
Result
main · boolean
Configure
operator
— Comparison operator
default >
value
— Constant to compare against
default 50

What it does

Compares input A against input B (or a configured constant) using the operator (>, <, ≥, ≤, =).

What happens

Evaluated every candle over its resolved inputs and emits true or false. A missing input is treated as false, never an error.

When to use

The workhorse condition — e.g. RSI < 30, or price > EMA.

Gotchas

  • A level test, not a cross — use Cross Above/Below to catch the moment of crossing.