[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Filtering - close higher than highest high



PureBytes Links

Trading Reference Links

Super! Thanks a lot!


--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> Use 
> 
> Filter = C > Ref(HHV(C,30),-1);
> 
> This will exclude today close from the 30 bar high
> 
> 
> 
> ----- Original Message ----- 
> From: "carlacash26" <carlacash26@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, February 05, 2007 10:22 PM
> Subject: [amibroker] Filtering - close higher than highest high
> 
> 
> > I'm having a problem with doing an exploration. I want to find 
stocks 
> > that close higher than the highest high value for past 30 days. 
> > 
> > This is what I have come up with:
> > 
> > Filter=C > HHV(C,30)
> > 
> > I think the problem is that todays CLOSE is included in the HHV
(C,30), 
> > so I should shift the HHV(C,30) to only include prices from 20 
days 
> > earlier, one day ago.
> > 
> > ???
> > 
> > Many thanks!
> > 
> > 
> > 
> > Please note that this group is for discussion between users only.
> > 
> > To get support from AmiBroker please send an e-mail directly to 
> > SUPPORT {at} amibroker.com
> > 
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> > 
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > Yahoo! Groups Links
> > 
> > 
> >
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.28/672 - Release Date: 2/6/2007 10:22 AM