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

RE: [amibroker] Re: AFlLcode



PureBytes Links

Trading Reference Links

… Or given his request maybe more appropriately …

 

Filter = Sum(C > Ref(C, -1), X) == X;

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of gp_sydney
Sent: Monday, August 20, 2007 7:05 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: AFlLcode

 

Try:

hdays = Ref(HHV(Close, X-1), -1) < Close;
ldays = Ref(LLV(Close, X-1), -1) > Close;

The first statement says if the highest value of Close up until
yesterday over the last "X-1" periods is less than today's value of
Close. The second statement is the opposite for lowest.

Regards,
GP

--- In amibroker@xxxxxxxxxps.com, "Don Woodyatt" <donwoodyatt@...> wrote:
>
> I'm not a programmer and I was wondering, what is the best way to
> filter for stocks that the close has been higher (lower) than the
> previous days close for X number of days.
>



I am using the free version of SPAMfighter for private users.
It has removed 31 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!
__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___