ChangesDirectionUpwards

Returns whether a series used to fall, but is now rising.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
valueSeries<Number>--

Returns: Series<Boolean>

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

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