Syntax
CrossingDirection.BELOW
Description
This constant is used with the Crosses
function to find when the first value becomes less than the second.
Note that this constant can be replaced with reserved word no
.
Example
plot avg = Average(close, 10);
plot crossing = Crosses(close, avg, CrossingDirection.BELOW);
crossing.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
This code marks the bars at which the Close price becomes less than its 10 period average.