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

[amibroker] Re: Code for AFL on a reversal day. Help required


  • Date: Thu, 24 Dec 2009 22:18:07 -0000
  • From: "peter843" <yahoogroups@xxxxxxxxxxxx>
  • Subject: [amibroker] Re: Code for AFL on a reversal day. Help required

PureBytes Links

Trading Reference Links

I assume you are not referring to the code posted below but the one in the subsequent post. Here is the correct version.

GapClosedWithinRange = Open != Ref(Close,-1) AND Close > Ref(Low,-1) AND Close < Ref(High,-1) ;



--- In amibroker@xxxxxxxxxxxxxxx, Joseph Occhipinti <joseph_occhipinti@xxx> wrote:
>
> Woops, hit send before i could finish email
> 
> if its means anything, it had syntax error (error 30), the whole line was highlighted and the cursor was placed at the very end of the line
> 
> 
> 
> ________________________________
> From: Joseph Occhipinti <joseph_occhipinti@xxx>
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Fri, 25 December, 2009 8:49:37 AM
> Subject: Re: [amibroker] Re: Code for AFL on a reversal day. Help required
> 
>   
> Peter, it has come up with a Syntax error 
> 
> 
> 
> 
> ________________________________
> From: Joseph Occhipinti <joseph_occhipinti@ yahoo.com>
> To: amibroker@xxxxxxxxx ps.com
> Sent: Fri, 25 December, 2009 7:59:46 AM
> Subject: Re: [amibroker] Re: Code for AFL on a reversal day. Help required
> 
>   
> thanks for your help peter
> 
> 
> 
> ________________________________
> From: Joseph Occhipinti <joseph_occhipinti@ yahoo.com>
> To: amibroker@xxxxxxxxx ps.com
> Sent: Fri, 25 December, 2009 7:53:20 AM
> Subject: Re: [amibroker] Re: Code for AFL on a reversal day. Help required
> 
>   
> thanks peter
> 
> my definition of a gap: 
> Previous days range, opens $1, high $1.02, low $0.95, closes $0.94. 
> Next day it opens 90c, closes 98c (back within the previous days range), 
> 
> cheers
> 
> 
> 
> 
> ________________________________
> From: peter843 <yahoogroups@ snugmail. com>
> To: amibroker@xxxxxxxxx ps.com
> Sent: Fri, 25 December, 2009 3:24:27 AM
> Subject: [amibroker] Re: Code for AFL on a reversal day. Help required
> 
>   
> 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
> >
> 
> 
> ________________________________
>  See what's on at the movies in your area. Find out now. 
> ________________________________
>  See what's on at the movies in your area. Find out now. 
> ________________________________
>  See what's on at the movies in your area. Find out now. 
> __._,_..___
> Reply to sender | Reply to group Messages in this topic (7) 
> Recent Activity: 	* New Members 48  	* New Photos 2  	* New Files 3   
> Visit Your Group Start a New Topic 
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> TO GET TECHNICAL SUPPORT send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> 
> MARKETPLACE
> Going Green: Your Yahoo! Groups resource for green living
> 
> ________________________________
>  
> Going Green: Your Yahoo! Groups resource for green living
>  
> Switch to: Text-Only, Daily Digest â?¢ Unsubscribe â?¢ Terms of Use
> . 
> 
>  
> 
> 
>       __________________________________________________________________________________
> See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/