Systemicbeta

Not

systemic:core-notLogic

Inputs

NameTypeDescription
FlagTrue/false seriesThe true/false series to invert.

Outputs

NameTypeDescription
NOTTrue/false seriesThe inverted series: `true` where the input is `false`, and `false` where it is `true`.

Cost

6
credits per run
1,000
bars

0.198 + 0.00488·n credits for n bars, rounded up. The marks are each plan's limit of bars.

The NOT module inverts each value in a boolean series: true becomes false, and false becomes true.

¬x={trueif x=falsefalseif x=trueemptyif x is missing\neg x = \begin{cases} \text{true} & \text{if } x = \text{false} \\ \text{false} & \text{if } x = \text{true} \\ \text{empty} & \text{if } x \text{ is missing} \end{cases}
InputOutput
truefalse
falsetrue
emptyempty

Missing Data

A value can be empty (null): a data gap, or a bar when the market is closed, such as a weekend on a stock series.

  • An empty input gives an empty output on the same bar. A gap is not "false", so NOT never turns it into a true signal.
  • Every true or false can be inverted, so an empty output always means "no input value on this bar", never a math error.

Numeric Interpretation

⚠️ Important: When the input is numeric rather than boolean, the NOT module converts each value before inverting it:

Numeric ValueInterpreted AsAfter NOT
0falsetrue
0.0falsetrue
1truefalse
-5truefalse
0.001truefalse

Rule: Zero (including 0.0) is false. Any non-zero value (positive, negative or fractional) is true.


Practical Example

"Trade except during high volatility" — Use NOT to invert a high-volatility flag, then combine it with AND to filter your entry signal. The result is true only when volatility is not high.


  • AND — Logical conjunction
  • OR — Logical disjunction
  • EQ / NEQ — Equality comparisons
© 2026 WanoLabs. All rights reservedBeta v0.1.5