equals

Syntax

equals

Description

The reserved word is used as a logic operator to test equality of values. In order to define this operator you can also use the double equals sign ==.

Example

plot Doji = open equals close;
Doji.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);

The code draws points on bars having the Doji pattern (equal close and open).