Function Nodes
Function nodes are powerful logic nodes that can provide you with unparalleled flexibility in designing your system. Function nodes, unlike Confidence Solvers, take inputs and can manipulate them before outputting a value. Function nodes also have the ability to “look back” in time and generate output based on confidence values from previous bars, along with extending confidence values in to the future.
Function nodes read confidence values from other sources such as other logic nodes (including other function nodes) and confidence solvers. This in effect allows you to chain together an infinite number of nodes.
Using Function Nodes
Function nodes are available in the logic tab and can be added to any BloodHound template. To add a function node, select or create a new logic tab, then click the function node menu or right click the logic node workspace. A list of available function nodes will appear, allowing you to select one from the list.
Function Node Types
Common Function Node Settings:
Name
The name allows you to specify a friendly identification or purpose of a function node. This name will be used to help you identify the node in the logic template against other nodes.
Enabled
Function nodes can be enabled or disable. When disabled, the function node will generally act as a pass through for its input and will not affect the input in any node that it is connected to. BloodHound will behave as if the node does not exist. You can use the disable feature if you need to remove nodes from the output to analyze how BloodHound is producing an unexpected result.
Common Function Node Controls:
Reset
Some Function nodes can be “reset” or turned off. The reset options are inside the Reset section of the parameters. These nodes include:
- Signal Blocker
- Signal Counter
- Signal Extender
- Toggle
The Reset options are used to turn off the expected functionality of the Function node. The signals going into the Function node, via the Input connector, can be used to reset the Function node, and also signals to the Reset connector can reset(turn off) the Function node.
For example, if you are using the Signal Counter, and it is counting how many signals are in the last 10 bars, if a reset signal fires on the 5th bar back it will restart the count on that bar, giving you a result equivalent to counting only 5 bars back.
Similarly, if you are using a Signal Extender, and a reset signal occurs while a signal is being extended, the signal will stop being extended.
When a reset occurs for the Signal Blocker, it will stop blocking signals and allow the next signal through.
Parameter | Description |
---|---|
Input Signal | A Signal to the Input connector will reset the Function node. |
Input No Signal | A bar without a Signal to the Input will reset the Function node. |
Reset Signal | A Signal to the Reset connector will reset the Function node. |
Reset No Signal | A bar without a Signal to the Reset will reset the Function node. |
Input Opposite Signal | A Signal, from the Short confidence, into the Input, will reset the Long confidence only. A Signal, from the Long confidence, into the Input, will reset the Short confidence only |
Input Opposite No Signal | A bar with no Signal from the Short confidence, into the Input, will reset the Long confidence only. A bar with no Signal, from the Long confidence, into the Input, will reset the Short confidence only. |
Reset Opposite Signal | A Signal, from the Short confidence, into the Reset, will reset the Long confidence only. A Signal, from the Long confidence, into the Reset, will reset the Short confidence only. |
Reset Opposite No Signal | A bar with no Signal, from the Short confidence, into the Reset, will reset the Long confidence only. A bar with no Signal, from the Long confidence, into the Reset, will reset the Short confidence only. |