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

Notification

Icon
Error

Options
Go to last post Go to first unread
noumann  
#1 Posted : Friday, October 16, 2009 3:10:57 AM(UTC)
noumann

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/16/2009(UTC)
Posts: 34

Hello everyone, really sorry for my poor english.I'm trying to normalizie a price series,starting a certain price(i.e 40 bars price ago).This will be my base((ref(C,-40)/ref(C,-40))*100.Then,the following price will be (Ref(C,-39)/Ref(C,-40))*100 and so on. How can i write it in Metastock language? Thank you
johnl  
#2 Posted : Saturday, October 17, 2009 7:44:36 PM(UTC)
johnl

Rank: Advanced Member

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

You can do something like below if you are trying to nail down a price at a specific time:

a1:=If((Year()=2009) AND (Month()=5) AND
(DayOfMonth()=20),C,PREV);
a1

I am guessing that is what you are looking for.
noumann  
#3 Posted : Wednesday, October 21, 2009 4:19:23 PM(UTC)
noumann

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/16/2009(UTC)
Posts: 34

Thank you,johnl, for your reply.
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.