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

[amibroker] Re: Code help - simple stuff



PureBytes Links

Trading Reference Links

Herbert,
Ref(H,-2) is the High two bars ago.
HHV(H,5)is the highest of the last 5 bars.
Ref(H,-2)==HHV(H,5) is true whenever the above two values are equal.
Nothing peculiar, at least up to this level.
BTW, in what sense "fractal" ?
Dimitris Tsokakis


--- In amibroker@xxxxxxxxxxxxxxx, Herbert Elstein <herty@xxxx> wrote:
> Dimitris,
> 
> Won't cond1 give you a high that's higher than the next coming 5 
days? What
> epintoem is asking for is a "fractal" I believe.
> 
> Herbert
> ----- Original Message ----- 
> From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, December 05, 2003 4:10 PM
> Subject: [amibroker] Re: Code help - simple stuff
> 
> 
> > cond1=Ref(H,-2)==HHV(H,5);
> > cond2=Ref(L,-1)<ValueWhen(cond1,L);
> > cond3=Ref(L,-1)<ValueWhen(cond2,L);
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "epintoem" <epintoem@xxxx> 
wrote:
> > > 1. Identify a high that is higher than the previous and next two
> > > trading days.
> > > 2. Identify a previous bar low that is lower than the bar
> > identified
> > > in 1.
> > > 3. Identify a previous bar low that is lower than the bar
> > identified
> > > in 2.
> > >
> > > Any help will be appreciated
> >
> >
> >
> > 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
> >
> > Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/
> >
> >
> >


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

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