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

[amibroker] AFL - Array subscript



PureBytes Links

Trading Reference Links

x=H ==Ref(HHV(H,250),-1);

Filter=x;

AddColumn(x,"");

----- Original Message ----- 
From: "prophesier2002" <prophesier2002@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, January 01, 2004 7:13 PM
Subject: [amibroker] Re: The first new high in 250 bars


> Thanks for the help but I'm still not getting what I want, which
> is....... No yearly highs for the last 250 bars but then I want to
> identify the first new yearly high after that.
> Regards
> David
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> > David,
> > you could use simply c>...... the cross is not needed but if you
> are looking
> > to see only the first occurrence then RT click and choose show
> actual trades
> > or else add an exrem statement to force only one buy prior to a
> sell...
> >
> > Regards,
> > Jayson
> > -----Original Message-----
> > From: prophesier2002 [mailto:prophesier2002@x...]
> > Sent: Thursday, January 01, 2004 10:26 AM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] The first new high in 250 bars
> >
> >
> > Buy=Cross(C,Ref(HHV(H,250),-1))
> >
> > I use this but it does not buy at the first high in 250 bars.
> > What do I have to change for it to buy only at the first new high?
> >
> > Regards David
> >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> >       Yahoo! Groups Sponsor
> >             ADVERTISEMENT
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------
> ---------
> > ----
> > Yahoo! Groups Links
> >
> >   a.. To visit your group on the web, go to:
> >   http://groups.yahoo.com/group/amibroker/
> >
> >   b.. To unsubscribe from this group, send an email to:
> >   amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> >   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.557 / Virus Database: 349 - Release Date: 12/31/2003


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/