
The Long/Short Modifier node combines or rearranges the Long and Short values: swapping them, copying one onto the other, or calculating one value from both.
The exception: Long and Short interact here
Everywhere else in BloodHound, the Long output and the Short output are calculated independently, and one side never affects the other. This node is the exception: depending on its Mode, the Long output can come from the Short input, or both outputs can come from a calculation that uses both inputs.
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

Mode decides how the outputs are made. “Mirrored” means the same value goes to both the Long output and the Short output.
| Mode | Long output | Short output |
|---|---|---|
| Swap | the Short input | the Long input |
| Mirror Long | the Long input | the Long input (the Short input is ignored) |
| Mirror Short | the Short input (the Long input is ignored) | the Short input |
| Average | (Long + Short) ÷ 2 | the same value (mirrored) |
| Maximum | the larger of Long and Short | the same value (mirrored) |
| Minimum | the smaller of Long and Short | the same value (mirrored) |
| Product | Long × Short | the same value (mirrored) |
| Addition | Long + Short, up to a maximum of 1 | the same value (mirrored) |
| Difference | a difference, set by Difference Mode: the absolute value of Long – Short, of Short – Long, or (Absolute) the larger of the two | the same value (mirrored) |
| None | the Long input, unchanged | the Short input, unchanged |
| Setting | What it does |
|---|---|
| Enable Long Side | On: the Long output is passed on. Off: it is still calculated internally, but the Long output is 0. |
| Enable Short Side | On: the Short output is passed on. Off: it is still calculated internally, but the Short output is 0. |
The Swap button among the Modifiers does the same as Mode: Swap, on any node.
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.
Training videos
Both show BloodHound v1, but the node and the ideas are the same.
From the weekly workshop, October 12, 2015. This node is covered from 39:23.
From the weekly workshop, February 1, 2013. This node is covered from 1:02:55.