Skip to content
Black Friday: sale starts November 15th.

Additive Node

Additive node

The Additive node adds its input values together. Use it to build systems that score points: each criterion adds to the total, and a trade needs enough points.

For example: criterion 1 is worth 1 point, criteria 2 and 3 are worth 2 each, criterion 4 is worth 3, and you take the trade with 5 points or more. The Long output adds up the inputs’ Long values and the Short output their Short values, each calculated separately.

Example

BloodHound works on a scale of 0 to 1, so express each criterion’s points as a share of the 5 points you need:

CriterionPointsShare of 5Solver maximum
111/50.20
222/50.40
322/50.40
433/50.60

A total of 1.0 (100%) or more means take the trade.

Add the four solvers and an Additive node, connect the solvers to it, and connect it to the Result node. Then cap each solver’s output at its share: select the solver on the Logic Board, open the Options tab, and drag the right handle of the Weight slider to its maximum (0.20 for criterion 1, 0.40 for criteria 2 and 3, 0.60 for criterion 4).

Example video

Three SMA slopes, with a signal when any two of the three slope the same way.

Properties tab

Property Inspector tabs, with the Properties tab selected

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.

Modifiers: the Enabled, Invert and Swap buttons
ButtonWhat it does
EnableTurns 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.
InvertInverts the node’s output. The same calculation as the Inverter function node, without its extra options.
SwapSwaps the outputs: Long becomes Short and Short becomes Long. The same as the Long/Short Modifier function node with Mode: Swap.

Options tab

Property Inspector tabs, with the Options tab selected

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.

ControlWhat it does
Multiply OutputMultiplies 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).
SliderLimits 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 OperationApplies 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

Property Inspector tabs, with the Help tab selected

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.

Still stuck? Contact support