SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Metastock 6.0 for Window

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Guitarman who wrote (2004)5/1/1998 1:44:00 PM
From: shasta23  Read Replies (1) of 4056
 
Hello everybody!

I'm not that great in writing code for mswin and try to write something but it doesn't work. Maybe someone could help?
I'm looking for stocks that made a 3month high a few weeks ago and then pulled back for 10-15% and now try to make a new high. That's the problem. To get more stocks i don't want the high to be on one day but over a period of days(like 10) four weeks back.I tried to write it like (DON'T LAUGH!!):

Ref(Alert(HHV(C,100),12),-15)

I thought of looking for the HHV of the close for the last 100 days over a period of 12 days 15 days in the past. But when i run this through my database i get no hits. Since the market was making new high during the time period I'm looking at i assume that something must be wrong with my formula.

Any suggestions?
Thanks in advance!

Stefan
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext