ChangesDirectionDownwards

Returns whether a series used to rise, but is now falling.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
valueSeries<Number>--

Returns: Series<Boolean>

ChangesDirectionDownwards is a built-in function - you can use it directly. Below is an example implementation:

1 function ChangesDirectionDownwards(value):
2 value < value[1] and value[1] > value[2]