You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library contains ATR (Average True Range). The ADR (Average Daily Range) has been popularized recently by popular trader Qullamaggie (Kristjan Kullamägi ... https://qullamaggie.com/). The formula and intent is slightly different -- ATR captures movement with pre-market gaps, but ADR captures intraday only and is used by swing traders (and maybe day traders) to decide if there's enough movement in the stock to warrant taking a position.
The normalization to a percentage that you're showing with /Close makes sense too as an extra returned property; though, I'd probably do the percentage as ADR/close (not shown) instead of avg(DR/close) (below).
the problem
The library contains ATR (Average True Range). The ADR (Average Daily Range) has been popularized recently by popular trader Qullamaggie (Kristjan Kullamägi ... https://qullamaggie.com/). The formula and intent is slightly different -- ATR captures movement with pre-market gaps, but ADR captures intraday only and is used by swing traders (and maybe day traders) to decide if there's enough movement in the stock to warrant taking a position.
See: https://www.alpharithms.com/average-daily-range-adr-090415/
I was able to ask ChatGPT for an implementation, but I have no confidence in the algorithm.
an idea
No response
code example
The text was updated successfully, but these errors were encountered: