Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 12/8/2005(UTC) Posts: 14 Location: Edmonton, Alberta
|
Does any know what function to use to plot a moving average from a different time interval than the chart that is currently being viewed. For example, I would like to lot a 30 minute moving average on a 15 minute chart.
Thanks, Steven
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 3 time(s) in 3 post(s)
|
since there are 2 15 min bars for each 30 min bar, and if you wanted to lot a 10 bar moving average from the 30 min chart onto a 15 min bar chart, just plot it as a 20 bar moving average for the 15 min chart
Mov(C,10,s) on a 30 min chart = Mov(c,20,S) on a 15 min chart
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/25/2006(UTC) Posts: 79
|
henry1224 wrote:
since there are 2 15 min bars for each 30 min bar, and if you wanted to lot a 10 bar moving average from the 30 min chart onto a 15 min bar chart, just plot it as a 20 bar moving average for the 15 min chart
Mov(C,10,s) on a 30 min chart = Mov(c,20,S) on a 15 min chart
Mov(C,10,s) on a 30 min chart is not truely equal to Mov(c,20,S) on a 15 min chart.
10-bar average of C on a 30 min chart = C of (bar2 + bar4 + bar6 + ... + bar20)/10 on 15-min chart.
|
|
|
|
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.