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

Re: [amibroker] Re: AFL question



PureBytes Links

Trading Reference Links

Thanks Graham- that's exactly what I was looking for.

Also thanks to Fred, Dave & Chuck

Brian
----- Original Message ----- 
From: "kavemanperth" <gkavanagh@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 28, 2003 2:33 AM
Subject: [amibroker] Re: AFL question


>
> you could also use
>
>
> A1 = min(C,O);
> B1 = max(C,O);
>
> Graham
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Fred" <fctonetti@xxxx> wrote:
> >
> > Brian,
> >
> > Given what you've stated you want to do ...
> >
> > A1 = IIF(C > O, O, C);
> > B1 = IIF(C > O, C, O);
> >
> > Fred
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher"
> > <chuck_rademacher@x> wrote:
> > > Brian,
> > >
> > > Try this... although there are better ways depending on what you
> > are going
> > > to do next:
> > >
> > > Larger = Close>Open;
> > > Smaller = Close < Open;
> > >
> > > Only one of these statements will then be "true" for each day.
> > >   -----Original Message-----
> > >   From: Brian [mailto:cadvantag@x...]
> > >   Sent: Monday, October 27, 2003 11:23 PM
> > >   To: amibroker@xxxxxxxxxxxxxxx
> > >   Subject: [amibroker] AFL question
> > >
> > >
> > >   I am trying to create a scan that compares the Close to the
> Open-
> > and
> > >   puts the lower value in A1 and the higher value in B1
> > >
> > >   Larger =IIF(Close > Open);
> > >   Smaller =IIF(Close < Open);
> > >
> > >   A1=Smaller;
> > >   B1=Larger;
> > >
> > >   This formula gives me an error- Can someone help me fix this
> > formula.
> > >
> > >   Thanks,
> > >   Brian
> > >
> > >
> > >
> > >
> > >
> > >         Yahoo! Groups Sponsor
> > >               ADVERTISEMENT
> > >
> > >
> > >
> > >
> > >   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 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
>
> 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/