The AroonIndicator in trend.py uses close(pandas.Series) as price data input.
But the indicator arron_up() is based on N-day high. This means that arron_up() should use high(pandas.Series) as input and not close data.
Accordingly, arron_down() should use low(pandas.Series).
This means that AroonIndicator should have two pandas.Series as input (Args): high(pandas.Series) as well as low(pandas.Series).
The
AroonIndicator
intrend.py
usesclose(pandas.Series)
as price data input. But the indicatorarron_up()
is based on N-day high. This means thatarron_up()
should usehigh(pandas.Series)
as input and not close data. Accordingly,arron_down()
should uselow(pandas.Series)
.This means that
AroonIndicator
should have two pandas.Series as input (Args
):high(pandas.Series)
as well aslow(pandas.Series)
.