Skip to content
StatePath
Tool Atlasconstant.bool

Tool

Boolean

constant.bool

ConstantLiteral

Inputs

No typed inputs.

Outputs

Boolean

A true/false line carrying the same fixed value on every bar.

Boolean emits one fixed true/false value, the same on every bar. It’s a hard-wired switch you use to turn a branch of logic permanently on or off.

Boolean overview diagramconstbool

How it works

There are no inputs — the node just outputs the value you set, repeated on every bar as a boolean line. Flip the value setting between true and false to hard-code the answer a downstream logic gate or filter receives.

Configuration

valuescalar

The fixed boolean to emit — set it to true to always pass, or false to always block. Every bar receives this same value.

value diagramsetbool

Connects to

Feeds into

Examples

  • Set value to false and wire it into one input of a logic.boolean AND gate to temporarily disable that branch while testing.
  • Use a true constant as a placeholder input for a condition you haven’t built yet, so the rest of the strategy still runs.

Common mistakes

  • Leaving a true constant in place after debugging, so a gate you meant to re-enable stays permanently open.
  • Reaching for constant.bool when you actually need a computed condition — a fixed value never reacts to the market.

See also