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

Notification

Icon
Error

Options
Go to last post Go to first unread
longshanks  
#1 Posted : Friday, March 31, 2006 10:33:25 PM(UTC)
longshanks

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
mstt  
#2 Posted : Saturday, April 1, 2006 12:30:35 AM(UTC)
mstt

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
longshanks  
#3 Posted : Saturday, April 1, 2006 5:05:13 AM(UTC)
longshanks

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/31/2006(UTC)
Posts: 4

Many thanks MSTT. Your suggestion works a treat. :) Regards, longshanks
longshanks  
#4 Posted : Saturday, April 1, 2006 5:14:26 AM(UTC)
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
mstt  
#5 Posted : Saturday, April 1, 2006 6:12:17 AM(UTC)
mstt

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.