- - Pine Script Operator
-
Overview
Section titled “Overview”Subtraction or unary minus. Applicable to numerical expressions.
Syntax
Section titled “Syntax”expr1 - expr2Returns
Section titled “Returns”Returns integer or float value, or series of values:
Remarks
Section titled “Remarks”- You may use arithmetic operators with numbers as well as with series variables. In case of usage with series the operators are applied elementwise.