<
systemic:core-lstLogicInputs
| Name | Type | Description |
|---|---|---|
| First Value | Number series | The value to test (left side of the comparison). |
| Second Value | Number series | The threshold to compare against (right side of the comparison). |
Outputs
| Name | Type | Description |
|---|---|---|
| LST | True/false series | A true/false series that is `true` on bars where First Value is less than Second Value. |
Cost
0.2 + 0.00523·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The Less Than module compares two numeric series bar by bar. It outputs true on every bar where the first value is smaller than the second.
| A | B | A < B |
|---|---|---|
| 5 | 10 | true |
| 10 | 10 | false |
| 15 | 10 | false |
| -5 | -2 | true |
Strict Inequality
⚠️ Important: This is a strict comparison. Values that are exactly equal return
false.
| A | B | A < B |
|---|---|---|
| 10 | 10 | false |
If equal values should also return true, use the LSTE (≤) module.
Missing Data
If either value is missing (empty) on a bar — a data gap or a closed-market day — the comparison cannot be made and the result is empty, not
false. Afalseis a real statement ("A is not below B"). The module never produces one from a gap.
| A | B | A < B |
|---|---|---|
| 5 | empty | empty |
| empty | 10 | empty |
| empty | empty | empty |
Two numbers can always be compared, so the output is empty only where an input is missing.
Input Alignment
When the inputs have different lengths or periods, Systemic aligns them by time automatically:
| Scenario | Behavior |
|---|---|
| Different lengths | The result covers the dates that both series share |
| Different periods | The series with the longer period repeats its last value until its next bar |
| Constant vs series | The constant is used on every bar |
Practical Example
Oversold detection: Check if RSI < 30 to find oversold conditions. Connect the RSI output to First Value and set Second Value to the constant 30.
Related Modules
- LSTE (≤) — Less than or equal (includes boundary)
- GTR (>) — Greater than
- GTRE (≥) — Greater than or equal
- EQ (==) — Equality comparison