
The Relational node compares Input A with Input B, such as one solver’s output with another’s: is A greater, smaller or equal? It can also output the difference between them.
Long compares with Long, Short with Short
The Long output and the Short output are calculated separately. The node compares Input A’s Long value with Input B’s Long value for its Long output, and A’s Short value with B’s Short value for its Short output. It never compares a Long value with a Short value. See BloodHound output.
Properties tab

The essential settings for the node.
Modifiers
Buttons for the most common output modifiers. They change only the selected instance of a node on a Logic Board, so they appear only when a node is selected there, not when a solver is selected in the Solvers panel. That keeps the solver’s original output unchanged everywhere else it’s used, much like changing an SMA’s plot color on one chart leaves it unchanged on your other charts.

| Button | What it does |
|---|---|
| Enable | Turns the node on or off. When it’s off, the node is left out of the system’s calculations. It still looks connected on the Logic Board, but it’s ignored. |
| Invert | Inverts the node’s output. The same calculation as the Inverter function node, without its extra options. |
| Swap | Swaps the outputs: Long becomes Short and Short becomes Long. The same as the Long/Short Modifier function node with Mode: Swap. |
Properties
This node’s settings apply to this node only. Unlike a solver, which can be used in several places with shared Global Properties, each of these nodes is a single, independent node.
Options

Compare Mode chooses the comparison or calculation:
| Compare Mode | Long output | Short output |
|---|---|---|
| A > B, A < B, A = B, A >= B, A <= B, A != B | true when A’s Long value compares that way with B’s Long value | true when A’s Short value compares that way with B’s Short value |
| A – B | A’s Long value minus B’s Long value | A’s Short value minus B’s Short value |
| B – A | B’s Long value minus A’s Long value | B’s Short value minus A’s Short value |
| |A – B| | the difference between the Long values, always positive | the difference between the Short values, always positive |
With a comparison (the first row), the Output settings below decide what “true” and “false” output. With a calculation (A – B, B – A, |A – B|), the result is the output and the Output settings are not used.
Output

| Setting | What it does |
|---|---|
| Output If True | Comparisons only. The output when the comparison is true. For example, with A > B, A’s Long value 0.89 and B’s 0.45: true, so with Output If True at 1, the Long output is 1. |
| Output If False | Comparisons only. The output when the comparison is false. With A > B, A’s Long value 0.12 and B’s 0.53: false, so with Output If False at 1, the Long output is 1. (And with 0.89 against 0.45, it’s true, so the Long output takes the Output If True value instead.) |
The Short output is worked out the same way from the Short values, separately.
Options tab

Secondary settings shared by all nodes.
Weight
Changes the node’s final output value. Only needed when designing a fuzzy logic system, or a fuzzy logic part of a system.
How Weight works
Weight changes only the selected instance of a node on a Logic Board. So the controls appear only when a node is selected there, not when a solver is selected in the Solvers panel: a solver’s original output can’t be changed globally.

| Control | What it does |
|---|---|
| Multiply Output | Multiplies the node’s internal Long and Short values (set by the Output Rules on the Properties tab) by this number. The final output still can’t go above 1 (see Slider). |
| Slider | Limits the final output to between 0 and 1. The left handle sets a minimum output, given whether or not the condition is true. The right handle sets the maximum; the output is capped there. |
| Hedge Operation | Applies a formula to the internal value. None: unchanged. Very: squares it (value²). Somewhat: takes the square root (√value). |

Example: two out of three
Three solvers check three indicator conditions, but only two need to be true. Connect them to an Additive logic node and set each solver’s maximum (the slider’s right handle) to 0.5. When any two are true, the Additive node adds 0.5 + 0.5 + 0 = 1, which means the two-out-of-three condition is met.
Description
Free text for describing what the node does or what it’s for. The Description is shared by every instance of the node, unlike Weight, which is set per instance.
Help tab

Shows this page for the selected node, inside BloodHound. Click the node’s image at the top of the page to open it in a bigger window. The built-in web viewer needs NinjaTrader 8.0.26.0 or newer.
Tutorial video
From 3:17. It shows BloodHound v1, but the settings and how they work are the same.