ClosedWithinRange = Close > Ref(Low,-1) and Close < Ref(High,-1) ;
What is your definition of a gap?
--- In amibroker@xxxxxxxxx ps.com, "siciliantrader" <joseph_occhipinti@ ...> wrote:
>
> hi, i have another question to the AFL gurus who can help
>
> Im having some real trouble trying to code for the following:
>
> I want to identify / be able to scan for when a stock gaps down (or up), on open and then closes back into the previous days range (as per the link
>
> as per the following chart on the link below
>
> can anyone at least point me in the right direction?
>
>
> any help would be awesome
>
> http://f1.grp. yahoofs.com/ v1/YAMzS2xS1lym2 d3QIqSpFgLV6ggBl XGZ7uD8HtpW3rcD1 IfaXRS6AoFeC2- PBv4BP9rWGt- kgINT7shexZ3ukaS mMQ3kRc2dvNIBnQ/ Signal%202. gif
>