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

Notification

Icon
Error

Options
Go to last post Go to first unread
adl  
#1 Posted : Friday, January 6, 2006 11:51:48 AM(UTC)
adl

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 1/6/2006(UTC)
Posts: 6

I am struggling my way through as a new Metastock user and would appreciate it if somebody could help me with the following formula's for an exploration (maybe they already exist in the shipped formulas???). I would like to search for stocks that: 1. Reach a new high on that particular day of search, for the 12 week period. 2. Close on a high for the month. Thanks Heaps adl
weird  
#2 Posted : Friday, January 6, 2006 1:15:39 PM(UTC)
weird

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 8/3/2005(UTC)
Posts: 40

Hi ADL, try this 1. H > ref(HHV(H,12),-1) {use weekly period} 2. Using some code from http://www.metastocktools.com/comp/comp-01.htm {Daily, current close is the highest value for the month} m:=Month(); a:=m<>Ref(m,-1)+(Cum(1)=2); C >= HighestSince(1,a,H)
adl  
#3 Posted : Monday, January 9, 2006 10:02:18 AM(UTC)
adl

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 1/6/2006(UTC)
Posts: 6

Thanks for the reply.When I put H > ref(HHV(H,12),-1) into the Explorer and do a search on all stocks A-Z, I still come up with over 3000 stocks, most of which have not made a high for that day or even week. Am I doing something wrong. Thanks adl
weird  
#4 Posted : Monday, January 9, 2006 12:45:47 PM(UTC)
weird

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 8/3/2005(UTC)
Posts: 40

Hi, Just some basic questions, as visually I can't see anything wrong with the formula (but it is late here), did you change the periodicity to weekly and include the formula in the filter part of the exploration ?
Patrick  
#5 Posted : Monday, January 9, 2006 4:00:46 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Check your load options .... Make sure you do not have "load minimum records selected" Patrick :mrgreen:
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.