or

Logical OR

or(left, right)

Parameters

Name Type Description
left bool First boolean operand
right bool Second boolean operand

Formula

result = (left OR right)

Examples

// price up or volume above average
or(close > open, volume > sma(volume, 20));

Returns

bool

Notes

Internal logical operator. Returns TRUE when either left or right is true, FALSE otherwise.