and - Pine Script Keyword
Overview
Section titled “Overview”Logical AND. Applicable to boolean expressions.
Syntax
Section titled “Syntax”expr1 and expr2Returns
Section titled “Returns”Boolean value, or series of boolean values.
Remarks
Section titled “Remarks”- If expr1 evaluates to false, the and operator returns false without evaluating expr2.