On Sun, Jan 5, 2025 at 11:58 AM Sparks, John wrote:
>
> I don't see atr_df appearing in my current directory.
>
> Also, I assume that the input data frame is named ohlc? Or am I missing
> something.
>
You need to call the function with your data and assign it to an object.
For example:
atr
I don't see atr_df appearing in my current directory.
Also, I assume that the input data frame is named ohlc? Or am I missing
something.
Thanks,
--JJS
From: Joshua Ulrich
Sent: Sunday, January 5, 2025 11:31 AM
To: Sparks, John
Cc: R-help@r-project.org
Subjec
Thanks! Appears helpful and the quick turnaround is very much appreciated.
I'll do some testing now.
--JJS
From: Joshua Ulrich
Sent: Sunday, January 5, 2025 11:31 AM
To: Sparks, John
Cc: R-help@r-project.org
Subject: Re: Using library(TTR) Calculate ATR by Sy
Hi,
TTR/xts/quantmod maintainer here.
On Sun, Jan 5, 2025 at 10:58 AM Sparks, John wrote:
>
> Hi,
>
> In looking at the documentation for the TTR library and particularly the
> example for calculating the ATR (average true range). The example shows
> how to calculate ATR for a file of a single
Hi,
In looking at the documentation for the TTR library and particularly the
example for calculating the ATR (average true range). The example shows how to
calculate ATR for a file of a single stock.
If I have multiple stocks in one file, isn't there a way to get the ATR for
each of them? Or
5 matches
Mail list logo