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

Notification

Icon
Error

Options
Go to last post Go to first unread
Maxforce  
#1 Posted : Wednesday, November 28, 2007 7:18:01 AM(UTC)
Maxforce

Rank: Member

Groups: Registered, Registered Users
Joined: 7/22/2006(UTC)
Posts: 11
Location: Malaysia

I would like to create two Moving Averages and color the zone between them.
How do I do this in Metastock?

Thanks!
henry1224  
#2 Posted : Wednesday, November 28, 2007 5:34:58 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)

This idea comes from Jose Silva

M1:=Mov(C,10,S);

M2:=Mov(C,50,S);

even:=Cum(1)/2=Int(Cum(1)/2);

UM:=If (even,M1,M2);

LM:=If (even,M2,M1);

UM;LM;

Maxforce  
#3 Posted : Thursday, November 29, 2007 11:16:32 AM(UTC)
Maxforce

Rank: Member

Groups: Registered, Registered Users
Joined: 7/22/2006(UTC)
Posts: 11
Location: Malaysia

Perfect!
Thank you Henry! Thank you Jose! :)


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.