Skip to content
Algo Trade Analytics Docs

and - Pine Script Keyword

Logical AND. Applicable to boolean expressions.

expr1 and expr2

Boolean value, or series of boolean values.

  • If expr1 evaluates to false, the and operator returns false without evaluating expr2.