Else
Revision as of 12:26, 18 January 2012 by 194.84.116.138 (talk) (Created page with "Used in combination with If and Then to form a conditional statement that executes specific instructions if a logical expression is false. The conditional execution s...")
Used in combination with If and Then to form a conditional statement that executes specific instructions if a logical expression is false.
The conditional execution statement must contain both If and Then in addition to Else.
For more information see If.
Usage
If E Then I1 Else I2
Where: E - a true/false expression
I - conditional instructions
Example
If UpTrend is true then buy and if UpTrend is false then sell short:
If UpTrend Then Buy Next Bar Market Else SellShort Next Bar Market;