
The XOR (exclusive OR) node signals when its inputs differ: “one or the other, but not both”.
How it works
With two inputs, the XOR node gives a signal only when one input has a signal and the other doesn’t. If both have a signal, or neither does, there is no signal.

| Input 1 | Input 2 | Output |
|---|---|---|
| No signal | No signal | No signal |
| Signal | No signal | Signal |
| No signal | Signal | Signal |
| Signal | Signal | No signal |
With three or more inputs, it signals when an odd number of inputs have a signal, and gives no signal when an even number do.

The Long output and the Short output are calculated separately
The XOR node compares the inputs’ Long values to work out its Long output, and their Short values to work out its Short output. So if one solver has a Long signal and the other a Short signal, the inputs differ on both sides, and the XOR node signals in both directions. See BloodHound output.
More on logic nodes: Logic Nodes.
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. |
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.