or

The or function can be used in both system and designer indicator creation. It is a logical operator.


System Creation:


By default, when Investigator checks for trade entry conditions, all of the specified conditions must be met. For example, if you use a bar pattern and a volume indicator to determine an entry condition, both the bar pattern AND the volume indicator's conditions must be met before the trade takes place. You can change this behavior by drawing a rectangle and inserting an or indicator into the rectangle. Assuming you don’t have multiple rectangles, this changes conditions so that the trade will be entered if any of the conditions inside the rectangle is met, so in our above example, if the bar pattern’s conditions or the volume indicators conditions are met, the trade will be entered.


Designer Creation:


This section assumes you have read the if help section. When designing indicators, the or function is used in conjunction with multiple If operators to test the veracity of multiple conditions. An or function can only have if, then, and else functions, and it must have at least two If functions. If any of the If functions surrounding the or function are true, the then function value will be returned; otherwise, the else function value will be returned.