PureBytes Links
Trading Reference Links
|
you could try
ExRemSpan( Buy, 26 );
Filter = Buy ;
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 24/05/06, cstrader232 <cstrader232@xxxxxxxxxxxx> wrote:
>
>
> You need to create a loop to filter out the subsequent buys. There are some
> examples of this on the site.
>
>
>
> ----- Original Message -----
> From: troll
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, May 23, 2006 4:17 PM
> Subject: [amibroker] Syntax Question
>
> I'm trying to limit the Filter function to return only the
> first occurence of "Buy" for the selected period (day)
>
> The line "Filter = Buy;" of course returns multiple occurrences and I
> thought that the following adjustment would limit the report output to
> the first buy only that occurred on a particular day while ignoring the
> rest but no such luck.
>
> Filter = Buy = ExRem( Buy, 26 );
>
> Any suggestions as to where I'm going wrong would be much appreciated.
>
>
> Regards,
>
>
> Dean H.
>
>
>
>
>
>
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
>
>
>
> ________________________________
> YAHOO! GROUPS LINKS
>
>
> Visit your group "amibroker" on the web.
>
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> ________________________________
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|