!= - Pine Script Operator
!=
Overview
Section titled “Overview”Inequality operator. Returns true if the operands are considered not equal, and false otherwise. This operator is compatible with all value types, including “int”, “float”, “bool”, “color”, and “string”. The operator can also compare two line or label IDs.
Syntax
Section titled “Syntax”expr1 != expr2Returns
Section titled “Returns”Boolean value, or series of boolean values.
Remarks
Section titled “Remarks”- This operator rounds “float” operands to nine fractional digits.