Rank: Newbie
Groups: Registered, Registered Users Joined: 3/31/2006(UTC) Posts: 4
|
Hi
Working just within the 'default' view is it possible to view a Moving Average when looking at Weekly data and then some how set it up to not use a Moving Average when switching back to daily data?
Many thanks,
longshanks
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Longshanks
Yes this is possible. This is how I would do it.
Wk:=LastValue(Highest(Sum(DayOfWeek()=5,5))=5);
D:=Mov(C,10,S); {data array}
ValueWhen(1,Wk,D);
On EOD data the plot is N/A, so not visible. On weekly periodicity, ValueWhen is constantly triggered and shows the carrent value of the "D" data array.
Roy
MetaStock Tips & Tools
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/31/2006(UTC) Posts: 4
|
Many thanks MSTT. Your suggestion works a treat. :)
Regards,
longshanks
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/31/2006(UTC) Posts: 4
|
...oops, when I insert the indicator into the chart and then save that chart as the default chart, the indicator is lost when I load the next chart. Any ideas.
cheers,
ls
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
LS
Unless you delete existing Smart Charts after making a change to the default template MS will load the an old chart (if there is one) in preference to creating a new one (from the new template).
Roy
|
|
|
|
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.