>
systemic:core-gtrLogicfunction1 crInputs
| Name | Type | Description |
|---|---|---|
| First Value | floatarray | The value to test (left side of the comparison). |
| Second Value | floatarray | The threshold to compare against (right side of the comparison). |
Outputs
| Name | Type | Description |
|---|---|---|
| GTR | booleanarray | The element-wise "greater than" result. |
The Greater Than module compares two numeric series element-wise and outputs true wherever the first value exceeds the second.
| A | B | A > B |
|---|---|---|
| 15 | 10 | true |
| 10 | 10 | false |
| 5 | 10 | false |
| -2 | -5 | true |
Missing Data
If either input is missing (null) at a position — a data gap or a closed-market day — the comparison at that position is null, not false. The module never fabricates a "condition not met" answer from missing data: a gap in your inputs stays a gap in the output.
| A | B | A > B |
|---|---|---|
| 15 | null | null |
| null | 10 | null |
| null | null | null |
A comparison between two real numbers is always defined — including infinite values — so missing inputs are the only source of null in the output.
In live execution the module returns exactly one datapoint — the newest position — which is null when either input is missing there.
Strict Inequality
⚠️ Important: This is a strict comparison. Values that are exactly equal return
false.
| A | B | A > B |
|---|---|---|
| 10 | 10 | false |
For inclusive comparison where equal values also return true, use the GTRE (≥) module.
Input Alignment
When inputs have different lengths or frequencies, Systemic automatically aligns them:
| Scenario | Behavior |
|---|---|
| Different lengths | Shorter series is padded by repeating its last value |
| Different frequencies | Lower-frequency series is upsampled to match |
| Constant vs series | Constant is broadcast to all time points |
Practical Example
Overbought detection: Check if RSI > 70 to identify overbought conditions. Connect RSI output to the first input and set the second input to the constant 70.
Related Modules
- GTRE (≥) — Greater than or equal (includes boundary)
- LST (<) — Less than
- LSTE (≤) — Less than or equal
- EQ (==) — Equality comparison