Signals¶
Turn indicator values into true/false trade conditions (crossovers, thresholds, and more).
- And — True only when every input signal is true.
- Between — True where low <= value <= high.
- Crosses Above — True on the bar where a crosses from <= b to > b.
- Crosses Below — True on the bar where a crosses from >= b to < b.
- Delay — Shift the signal forward by N bars.
- Edge Trigger — Fire only on the first bar of a true run (rising edge).
- Equal — True where |a - b| is within tolerance.
- Falling — True when the series strictly fell on each of the last N bars.
- Greater or Equal — True where a >= b.
- Greater Than — True where a > b.
- Hold — Latch the signal true for N bars after each rising edge.
- Hysteresis — Two-threshold (Schmitt-trigger) gate: turns ON when the value rises above the upper threshold, OFF when it falls below the lower, and HOLDS in between. The deterministic anti-chatter fix for a single threshold that flickers on/off around one level. Starts OFF.
- Less or Equal — True where a <= b.
- Less Than — True where a < b.
- N of M — True when at least N of the wired input signals are true on the bar — 'confluence' / confirmation voting (e.g. '≥3 of these 5 conditions agree'). Generalises AND (N = all) and OR (N = 1).
- Not — Invert a boolean signal.
- Not Equal — True where |a - b| exceeds tolerance (the negation of Equal).
- Or — True when at least one input signal is true.
- Rising — True when the series strictly rose on each of the last N bars.
- Xor — True when an odd number of input signals are true.