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

[amibroker] Re: controlling exploration output



PureBytes Links

Trading Reference Links

Yuki,
you may also immitate AA in your IB
Try the
List = "MSFT,INTC,BEAS,CSCO";
Z1=0;CU=0;Title="";
for( i = 0; ( sym = StrExtract( List, i ) ) != ""; i++ )
{
SetForeign(SYM);
Z1=RSI();Cu=Cu+1;
Title=Title+WriteVal(cu,1.0)+"] "+Name()+WriteVal(z1)+
"\n---------------------\n";
}

--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> I have a follow up question about this, Andrew.
> 
> A>> Same concept, another option.
> 
> A>> List = "MSFT,INTC,IBM";
> A>> myorder = 1000;
> A>> for( i = 0; ( sym = StrExtract( List, i ) ) != ""; i++ )
> A>> {
> A>> if(Name()==sym){myorder = i+1;}
> A>> }
> A>> Filter = 1;
> A>> AddColumn(myorder,"My Order");
> 
> A>> Just type your list in the order you want
> 
> I thought if I set
> 
> SetOption("nodefaultcolumns", True );
> 
> that I could make myorder be the first column on the left.  I can 
and
> it is of course, but normally that first column is the ticker 
column,
> and it sorts low numbers to high (low numbers first).  But when I
> make my list and run the exploration, it prints out the first symbol
> as 1, but sorts with the highest numbers first.  The obvious and 
easy
> solution (other than a click) is to reverse the order of my typed
> list. But the question is why is the automatic sort order inverse of
> the sort order applied to the default ticker column?  I can't figure
> that one out.
> 
> Yuki


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