Lipi Reference
Lipi

Operators

&&

Logical AND. Applicable to boolean expressions.

Syntax

                expr0 && expr1 | expr0 and expr1
              

Example


          //@lipi=2
indicator("Logical AND Example", overlay=true)
// && is the symbol spelling of and
insideBar = high < high[1] && low > low[1]
bgcolor(insideBar ? color.new(color.blue, 0.2) : na)