The OR logic node applies a Boolean OR operation. Specific to BloodHound, it identifies the maximum input value, and that maximum value becomes the output value. Simply put, the OR node combines all inputs together into a single output, and outputs the maximum of those values.
Imagine you had 3 criteria for a trading signal, and you want BloodHound to identify them. Your rules state that if any of the criteria is satisfied, you have a valid signal. After creating each criteria as separate solvers, you now have all 3 solver nodes added to the logic board.
To complete your logic, you would simply connect each of the 3 solvers to the inputs of the OR node. Lastly, you would connect the OR node's output to the Result node.
Connecting all 3 solvers to the OR node ensures that if any of the 3 criteria are true for a particular direction (or favorable) the OR node will produce a result. Conversely, the OR node will only produce a zero/nugatory value if and only if all of the inputs are nugatory. After connecting the Result node, BloodHound will plot on the chart all the bars where any of the 3 criteria were identified.
This section provides quick access to commonly used output modifiers.
Please note: The buttons only modify the individual instance of the selected node(s) on a Logic Board. Thus, the buttons are only visible when a node is selected on the Logic Board. The buttons are not available when a solver is selected in the Solvers panel, because the original solver's output can not be globally modified.
This behavior is consistent with adding a function node afterwards, so that the original solver's output remains unmodified elsewhere in the system. It is similar to having an SMA(50) on several charts. Changing the plot color on one chart does not modify the plot color on the other charts.
This section is used to modify the node's final output value. It is only useful for designing fuzzy logic systems, or a fuzzy logic section of a system.
Please note: The Weight controls only modify the individual instance of the selected node(s) on a Logic Board. Thus, the Weight controls are only visible when a node is selected on the Logic Board. The controls are not available when a solver is selected in the Solvers panel, because the original solver's output can not be globally modified.
This behavior is different than BloodHound 1.0. In BH 1.0, the Weight controls modified the nodes output globally (every instance). This change in BH 2.0 adds more system design granularity.
Multiply Output: This takes the internal values (the Long and Short values determined via the Properties tab » Output Rules section) and multiplies them by this value. Note: the final output will not exceed a value of 1, as described in the Slider control below.
Slider control: The slider constrains the final output to a value of 0 to 1. The left side of the slider sets a minimum value that is output regardless if the solver condition is true or not. The right side sets a maximum value that is output. The output is capped.
e.g. Three indicator conditions are being checked, and thus three solvers are created. Only two out of the three indicator conditions are needed. An Additive logic node is used to add the solver's outputs together. Just two out of the three solvers need to add up to a value of 1. Therefore, the right slider (max output value) for all three solvers is set to 0.5. When two indicator/solver conditions are found, thus the outputs = 0.5, then the calculation, in the Additive node, is 0.5 + 0.5 + 0 = 1. A value of 1 means the two out of three condition is true.
None: No modification is applied.
Very (square output): A squaring formula is applied. Output = value^² .
Somewhat (square root output): A square root formula is applied. Output = √value .
This text area provides a place to write a full description of what the node is doing, used for, or what ever you want.
Note: The Description is global to all instances of the node. It is not applied individually to each instance as the Weight controls are.
This tab displays the documentation page (from this web site) of the selected node.
Please note: NinjaTrader v126.96.36.199 or newer is required for the built in web viewer to work, and thus the documentation to be displayed.
The OR Logic node behaves like a fuzzy logic OR. The resulting output will be the maximum value of the inputs (a fuzzy OR operation).
Imagine you had 3 criteria for a trading signal you are looking to represent in BloodHound, and your rules state that if any of the criteria were are satisfied you have a valid signal. After adding each criteria as separate solvers you now have all 3 solver nodes added to your logic template workspace.
To complete your logic, you would simply connect each of the outputs from the 3 solvers to the inputs in the OR logic node. Finally you would connect the output from the OR logic node’s to theResult node.
Connecting all 3 solvers to the OR logic node ensures that if any of the 3 criteria were true for a particular direction (or favorable) the OR logic node would produce a favorable result. Conversely, the OR logic node will only produce an unfavorable value if and only if all of the inputs were unfavorable. After connecting the Result node, BloodHound identifies the areas on your chart whereany of the 3 criteria were satisfied.