logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gorachand  
#1 Posted : Thursday, September 7, 2023 3:30:05 PM(UTC)
gorachand

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 2/19/2012(UTC)
Posts: 103

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)

I was looking for the Metastock formula for Average day range (ADR) and not ATR with a lookback period of 15

I tried

ADR:=(Sum(H-L,15)/15); ADR;

But the results differ a little from the TradingView indicator.

Where am I going wrong?

Edited by user Thursday, September 7, 2023 3:31:51 PM(UTC)  | Reason: Not specified

MS Support  
#2 Posted : Friday, September 8, 2023 2:51:39 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 155 time(s) in 150 post(s)
Originally Posted by: gorachand Go to Quoted Post

I was looking for the Metastock formula for Average day range (ADR) and not ATR with a lookback period of 15

I tried

ADR:=(Sum(H-L,15)/15); ADR;

But the results differ a little from the TradingView indicator.

Where am I going wrong?

Hard to say without knowing more about the comparison. I looked at IBM for 9/7 and 9/6 to do a quick comparison and the values match exactly using your formula which would indicate the formula is fine, but there might be differences in data depending on the symbol (assuming the same parameters, they appear to use 14 periods as their default).

gorachand  
#3 Posted : Sunday, September 10, 2023 3:04:10 PM(UTC)
gorachand

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 2/19/2012(UTC)
Posts: 103

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Thanks
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.