[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
femtotrader opened this issue Jul 13, 2024 · 0 comments
Open

Comments

@femtotrader
Copy link
Contributor
femtotrader commented Jul 13, 2024

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 femtotrader changed the title Implement Average Day Range (ADR) Implement Average Day Range (ADR) and Average Relative Day Range Jul 13, 2024
@femtotrader femtotrader changed the title Implement Average Day Range (ADR) and Average Relative Day Range Implement Average Day Range (ADR) and Average Relative Day Range (RADR) Jul 13, 2024
@femtotrader femtotrader changed the title Implement Average Day Range (ADR) and Average Relative Day Range (RADR) Implement Average Day Range (ADR) and Average Relative Day Range (ARDR) Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant