Systemicbeta

<=

systemic:core-lsteLogic

Inputs

NameTypeDescription
First ValueNumber seriesThe value to test (left side of the comparison).
Second ValueNumber seriesThe threshold to compare against (right side of the comparison).

Outputs

NameTypeDescription
LSTETrue/false seriesA true/false series that is `true` on bars where First Value is less than or equal to Second Value.

Cost

6
credits per run
1,000
bars

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

Outputi={trueif Ai≤Bifalseif Ai>Biemptyif Ai or Bi is missing\text{Output}_i = \begin{cases} \text{true} & \text{if } A_i \leq B_i \\ \text{false} & \text{if } A_i > B_i \\ \text{empty} & \text{if } A_i \text{ or } B_i \text{ is missing} \end{cases}

The Less Than or Equal module compares two numeric series bar by bar. It outputs true on every bar where the first value is less than or equal to the second.

ABA ≤ B
510true
1010true
1510false
00true

Inclusive vs Strict Comparison

⚠️ Key difference from LST (<): Equal values return true with LSTE.

Comparison10 vs 10 Result
LST (<)false
LSTE (≤)true

Use LSTE when touching a threshold should count as meeting the condition (e.g., "at or below the stop-loss level").


Missing Data

If either input is missing (empty) on a bar — a data gap or a closed-market day — the result on that bar is empty. The module never invents an answer for missing data: a gap in your inputs stays a gap in the output, not a false.

ABA ≤ B
5emptyempty
empty10empty
emptyemptyempty

Two numbers can always be compared, so the output is empty only where an input is missing.

Missing data is separate from input alignment (below). Alignment matches two series of different lengths or periods. A missing value inside an aligned series is never filled in and stays empty in the output.


Input Alignment

When the inputs have different lengths or periods, Systemic aligns them by time automatically:

ScenarioBehavior
Different lengthsThe result covers the dates that both series share
Different periodsThe series with the longer period repeats its last value until its next bar
Constant vs seriesThe constant is used on every bar

Practical Example

Risk limit check: Check that a drawdown series stays within a limit using Drawdown <= Max Drawdown. Because equal values count, exactly hitting the limit still passes the check.


  • LST (<) — Strict less-than (excludes equality)
  • GTR (>) — Strict greater-than
  • GTRE (≥) — Greater than or equal
  • EQ (==) — Equality only
© 2026 WanoLabs. All rights reservedBeta v0.1.5