If-Then Node

The IF THEN node acts like a switch. The switch is controlled by the IF connector. When a signal comes in, what ever is connected to the THEN connector passes through to the Output. When there is no signal, what ever is connected to the ELSE connector passes through to the Output. Either the THEN or ELSE always passes through to the Output. The Long output and Short output each have their own switch inside the IF THEN and are evaluated separately.
Illistrated Examples
When a Long signal comes in to the IF , the Long data from the THEN passes through to the OUTPUT. But, the Short data from the ELSE passes through to the OUTPUT, because there is no Short signal to the IF.
When a Short signal comes in to the IF , the Short data from the THEN passes through to the OUTPUT. But, the Long data from the ELSE passes through to the OUTPUT, because there is no Long signal to the IF.
When a Long & Short signal comes in to the IF , the Long & Short data from the THEN passes through to the OUTPUT. Nothing from the ELSE passes through to the OUTPUT.
Parameters
Options
Video Tutorial
This video demonstrate how to set up the logic to use the If Then node so that system A (connected to the IF and THEN inputs) can override system B (connected to the ELSE input). e.g. When system A has a long or short output, it will always show system A on the chart. But, when system A is neutral (zero outputs), that is when system B will show on the chart. In this example system A identifies an overbought/oversold condition, and system B identifies a trending condition.