>=
systemic:core-gtreLogicInputs
| 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 |
|---|---|---|
| GTRE | True/false series | A true/false series that is true on every bar where the first value is greater than or equal to the second. |
Cost
0.199 + 0.00572·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The Greater Than or Equal module is an inclusive comparison. The output is true when the first value is greater than or equal to the second.
| A | B | A ≥ B |
|---|---|---|
| 15 | 10 | true |
| 10 | 10 | true |
| 5 | 10 | false |
| 0 | 0 | true |
Inclusive vs Strict Comparison
⚠️ Key difference from GTR (>): Equal values return
truewith GTRE.
| Comparison | 10 vs 10 Result |
|---|---|
| GTR (>) | false |
| GTRE (≥) | true |
Use GTRE when touching a threshold should count as meeting the condition (e.g., "at or above support level").
Missing Data
A comparison needs both values. When either side is empty (null) on a bar, for example a closed market or a data gap, the output is empty on that bar. GTRE never uses a default value and never returns false for missing data.
| A | B | A ≥ B |
|---|---|---|
| 15 | empty | empty |
| empty | 10 | empty |
| empty | empty | empty |
Any two present values can be compared, so an empty output always comes from a missing input.
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
Minimum threshold: Check that volume reaches a minimum level. Use Volume >= Minimum so that a bar exactly at the minimum still counts.
Related Modules
- GTR (>) — Strict greater-than (excludes equality)
- LST (<) — Strict less-than
- LSTE (≤) — Less than or equal
- EQ (==) — Equality only