Keywords
or
True when either of its operands is true. Like `and`, it has a symbol spelling that lexes to the same token.
Syntax
expr0 || expr1 | expr0 or expr1
Example
//@lipi=2
indicator("or Example", overlay=true)
// Either condition is enough: a new 20-bar high or a new 20-bar low
extreme = high == talib.highest(high, 20) or low == talib.lowest(low, 20)
bgcolor(extreme ? color.new(color.orange, 0.2) : na)