Returns a vector of ATR calculations in dataframe format. If current = TRUE, returns the most recent ATR as well as where price is in the context of the ATR
Arguments
df
Dataframe with price data.
period
Calculation period in day for the true range
current
If one wants to input the latest price point before data update
mrprice
Most recent price;
hideprints
if TRUE hides the print outs regarding the percentile within an ATR