PureBytes Links
Trading Reference Links
|
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.
------------------------ 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/
|