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

Signal Extender Node

Signal Extender node

The Signal Extender node carries a signal forward for a number of bars after it occurs.

Useful when conditions happen at different times. For example: a crossover first, a pullback a few bars later, then a bounce off support. Extend the crossover far enough for the pullback to happen, then extend both for the bounce, and an AND node can combine them. The Long and Short sides are extended separately.

The animation shows BloodHound v1; the ideas are the same in v2.

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.

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

Options: Signal Threshold and Extend After Intra-bar Signal
SettingWhat it does
Signal ThresholdThe smallest input value that counts as a signal and starts extending.
Extend After Intra-bar SignalOnly with Calculate set to “On price change” or “On each tick”. On: a signal that appears at any point while a bar forms is extended, even if the bar closes without it. Off: only a signal present when the bar closes is extended.
About intra-bar signals

Intra-bar signals only exist when Calculate is “On price change” or “On each tick”: signals that appear while a bar is still forming, as price moves up and down. Two things to know:

Not every signal is visible

While calculating on forming bars, NinjaTrader only redraws the chart every 250 milliseconds (4 times a second). Price can move a few ticks, create a signal and move back again between redraws, so some intra-bar signals never appear on the chart.

Intra-bar signals are lost after a reload

When a chart reloads, for any reason, all intra-bar data is cleared. NinjaTrader only recalculates it with Tick Replay on; read its warnings about performance before turning it on.

Reset

Reset: Reset On and Extend Signal For

A reset stops the extending.

Reset On

Which signals reset (turn off) the node: signals at its Input connector, at its separate Reset connector, or both. Tick as many as you need, and untick any you don’t use so the node isn’t reset by accident.

As everywhere in BloodHound, the Long output and the Short output are reset separately: a Long reset signal resets only the Long side. The “Opposite” options are the exception that crosses over, letting a Short signal reset the Long side and vice versa.

The Reset On menu, with all eight options
OptionResets the node when…
Input SignalA Long signal at the Input connector resets the Long output’s calculation; a Short signal resets the Short output’s.
Input No SignalA bar with no Long signal at the Input resets the Long output’s calculation; a bar with no Short signal resets the Short output’s.
Reset SignalA Long signal at the Reset connector resets the Long output’s calculation; a Short signal resets the Short output’s.
Reset No SignalA bar with no Long signal at the Reset connector resets the Long output’s calculation; a bar with no Short signal resets the Short output’s.
Input Opposite SignalCrosses over: a Short signal at the Input resets the Long output’s calculation, and a Long signal resets the Short output’s.
Input Opposite No SignalA bar with no Short signal at the Input resets the Long output’s calculation; a bar with no Long signal resets the Short output’s.
Reset Opposite SignalA Short signal at the Reset connector resets the Long output’s calculation; a Long signal resets the Short output’s.
Reset Opposite No SignalA bar with no Short signal at the Reset connector resets the Long output’s calculation; a bar with no Long signal resets the Short output’s.
SettingWhat it does
Extend Signal ForHow many bars to add after each signal, unless a reset ends it sooner. With 2 and a single input signal, the output has 3 bars with a signal: the original and 2 extended.

Output

Output: Decay Type and Mode
SettingWhat it does
Decay TypeHow the extended output changes over the extended bars:
None: stays at 1 the whole time.
Linear: drops by the same amount each bar, 1 ÷ Extend Signal For. With 10: 1, 0.9, 0.8 and so on.
Exponential or Logarithmic: drops along that curve.
ModeHow the extended value combines with the current input value on each bar:
Overwrite: the output is the Decay Type value.
Add: the input value plus the Decay Type value.
Average: the average of the input value and the Decay Type value.

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.

Videos

Tutorial.

A simple example.

Still stuck? Contact support