Rank: Advanced Member
Groups: Registered, Registered Users Joined: 2/19/2012(UTC) Posts: 106
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
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: gorachand 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).
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 2/19/2012(UTC) Posts: 106
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
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.