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

[amibroker] Filtering - close higher than highest high



PureBytes Links

Trading Reference Links

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!


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