Risk Disclosure

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View full risk disclosure.

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

This section is common to all solvers.  A description can be found here.
This section is common to all solvers.  A description can be found here.

Options

This parameter determines what the minimum value to the IF connector must be to be considered a Signal.

Video Tutorial