True/false input
A true/false input allows you to assign a name to a formula that results in a true or false value. Inputs provide tremendous flexibility in that once you assign a formula to an input, you can then reference that input throughout your study to retrieve its corresponding formula's value. This is especially helpful when using lengthy calculations in your formulas.
Input values cannot use variables. Also, when using true/false inputs, you cannot use formulas that result in a numeric value.
Example
The example below assigns the true/false expression (Close > Close[1]) to the input UpBar. This allows you to use UpBar anywhere you would reference (Close > Close[1]).
Input: UpBar(Close > Close[1]);
If UpBar then Buy at Close Stop;
If you did not create the input UpBar, your statement would become more lengthy as you would need to reference (Close > Close[1]) for every instance of UpBar as illustrated below.
If (Close > Close[1]) then Buy at Close Stop;