talipp icon indicating copy to clipboard operation
talipp copied to clipboard

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

Open femtotrader opened this issue 1 year ago • 0 comments

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

femtotrader avatar Jul 13 '24 11:07 femtotrader