First
the price making new highs after the first high is made is
actually part of the results
Secondly, why not search for the correction after the highs rather
than the new high
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 11/06/07, Bill <zim630@xxxxxnet>
wrote:
> I am attempting to do a study of what happens to stocks after they
> make a new high over various time frames, i.e. 1 yr high, 2 yr high
> etc.
> When I use the following code:
>
> NewHighs= IIf(H>Ref(HHV(H,252),-1),1,0);
> VW=ValueWhen(NewHighs,C,1.2);
> Filter=NewHighs AND BarCount>252;
> AddTextColumn(FullName(),"Name",10);
> AddColumn(VW,"Close",1.2);
> AddColumn(Ref(C,63),"3 Months",1.2);
> AddColumn(Ref(C,126),"6 Months",1.2);
> AddColumn(Ref(C,189),"9 Months",1.2);
>
> If a stock makes continuous new highs (which happens often) it just
> repeats day after day. Any Ideas on how to eliminate that by having
> the stock correct first before making another new high?
>
> Thanks in advance for any help.
>
> Bill
>