Skip to content

Implement Average Day Range (ADR) and Average Relative Day Range (ARDR) #157

@femtotrader

Description

@femtotrader

Hello,

Following #155 there is also ADR - Average Day Range (ADR)

This kind of indicator could be created quite simply using a Smoother (as suggested in #146 ) and IR (or RIR) as implemented in #156 to create AverageDayRange and AverageRelativeDayRange

We could do

AverageDayRange = IndicatorFactory.get_smoother(IR, MAType.SMA)
AverageRelativeDayRange = IndicatorFactory.get_smoother(RIR, MAType.SMA)

and instantiate like so

ind1 = AverageDayRange(period)
ind2 = AverageRelativeDayRange(period)

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions