>
systemic:core-gtrLogicInputs
| 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 |
|---|---|---|
| GTR | True/false series | A true/false series that is true on every bar where the first value is greater than the second. |
Cost
0.199 + 0.00539·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The Greater Than module compares two numeric series bar by bar and outputs true wherever the first value is greater than the second.
| A | B | A > B |
|---|---|---|
| 15 | 10 | true |
| 10 | 10 | false |
| 5 | 10 | false |
| -2 | -5 | true |
Missing Data
If either input is empty (null) on a bar, for example a data gap or a closed-market day, the comparison on that bar is empty, not false. A gap in your inputs stays a gap in the output.
| A | B | A > B |
|---|---|---|
| 15 | empty | empty |
| empty | 10 | empty |
| empty | empty | empty |
Any two present values can be compared, so missing inputs are the only source of empty values in the output.
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 the inputs have different lengths or periods, Systemic aligns them automatically:
| Scenario | Behavior |
|---|---|
| Different lengths | The result starts at the first bar where both series have data |
| Different periods | The series with the longer period repeats its latest value on every bar of the shorter period |
| Constant vs series | The constant is used on every bar |
Practical Example
Overbought detection: Check if RSI > 70 to identify overbought conditions. Connect the 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