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

Notification

Icon
Error

Options
Go to last post Go to first unread
bikhod  
#1 Posted : Wednesday, November 23, 2005 8:51:51 AM(UTC)
bikhod

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 30

Hello Is it possible to plot extrapolations? For example, I can easily work out the daily Moving Average change: delta = MOV(C, 20,E) - Ref(MOV(C, 20,E), -1) I would like to use this figure to extraploate the moving average for the next n number of periods: MA today = Mov(C, 20, E) MA tomorrow = Mov(C, 20, E) + delta MA 2 days time = Mov(C, 20, E) + 2*delta MA 3 days time = Mov(C, 20, E) + 3*delta MA 4 days time = Mov(C, 20, E) + 4*delta MA 5 days time = Mov(C, 20, E) + 5*delta How would I be able to plot this on an existing chart that already has the 20 day MA on it. Ideallly I would like the colour to be different too. I am using MetaStock 8.1. Thanks
StorkBite  
#2 Posted : Wednesday, November 23, 2005 1:52:19 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Try something like this: a:= MOV(C, 20,E) - Ref(MOV(C, 20,E), -1); a1:= Mov(C, 20, E); a2:= Mov(C, 20, E) + a; a3:= Mov(C, 20, E) + 2*a; a4:= Mov(C, 20, E) + 3*a; a5:= Mov(C, 20, E) + 4*a; a6:= Mov(C, 20, E) + 5*a; a1;a2;a3;a4;a5;a6
bikhod  
#3 Posted : Wednesday, November 23, 2005 2:13:53 PM(UTC)
bikhod

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 30

Thanks. Wouldn't this do the calculation for every bar in the plot? I want the extrapolation calculations and plot to be applied from the last bar only. In other words, I want to extraplolate from the right edge only.
StorkBite  
#4 Posted : Wednesday, November 23, 2005 4:55:23 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
You're talking about plotting into the future. I'm not sure it can be done. If so, I've never done it. Sorry. You could get the values though and look at the data numerically.
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.