Node reference
Debounce
Passes its input through only after it stays true for N bars.
Rev. 2026.06
Debouncecondition
InputsOutputsDebounce
Condition
condition · boolean
Result
main · boolean
Configure
- sourceNodeId
- — Wire the input series (defaults to price close)
- sourceHandle
- — Which output of the source to read
- barsRequired
- — Bars the condition must hold before firing
- default 3
- range 0–1000
- resetOnFalse
- — Reset the counter when the input goes false
- default true
What it does
Filters flicker: the output goes true only once the input has held true for N consecutive bars.
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
Suppress one-bar noise — require a condition to persist before you act on it.
Gotchas
- It adds N bars of delay by design.
- resetOnFalse restarts the count the moment the input goes false.