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

Re: [amibroker] Re: controlling exploration output



PureBytes Links

Trading Reference Links

Hi Andrew,

Doesn't work for me, Andrew.  The output I get is still listed in the
same order as the original 'ticker' column.  What do you suppose I'm
doing wrong?

Yuki

Saturday, December 6, 2003, 8:04:41 AM, you wrote:

A> Yuki Try this AFL,  BUT TAKE CARE WHERE YOU INSERT YOUR CODE.
A> This AFL uses foreign statements to perform your code on your list
A> of  stocks.  Place your code in the wrong place and the results
A> you will get won't relate to "list" stock.  Stocks in report are
A> only those in your list, but they are displayed in order.
 
A> List = "MSFT,INTC,BEAS,CSCO";
A> ORdNum = Status("StockNum");
A> sym = StrExtract( List, ORdnum );
A> ticker = "";
A> result = 0;
A> if(sym != "")
A> {
A> SetForeign(Sym);
A> Ticker = Name();
A> //Start your code 
A> Result = RSI();
A> //finish your code 
A> RestorePriceArrays();
A> }
A> Filter = result;
A> SetOption("NoDefaultColumns",True);
A> AddTextColumn(ticker,"Ticker");
A> AddColumn(result,"RSI");


A> Andrew




------------------------ 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/