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

RE: [amibroker] Array text in AA



PureBytes Links

Trading Reference Links

You might find some interesting charachters running this exploration:

Buy=Sell=Short=Cover=0;
Filter=BarIndex() < 256;
Code = BarIndex();
AddColumn(Code, "", formatChar );

h.

-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: Wednesday, August 13, 2003 6:48 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Array text in AA


Hello,

Variables in AFL can only have following types:

number (float)
array of numbers (floats)
string
OLE dispatch handle (returned by GetScriptObject and CreateObject functions)


Arrays of STRINGs are not supported. You can however display
single-character codes

Filter = 1;

dw = DayOfWeek();

Code = IIf( dw == 1, 77,

IIf( dw == 2, 84,

IIf( dw == 3, 87,

IIf( dw == 4, 116,

IIf( dw == 5, 70,

0 ) ) ) ) );


AddColumn(Code, "", formatChar );


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "thelunit" <thelunit@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, August 14, 2003 12:35 AM
Subject: [amibroker] Array text in AA


> Anyone tell me how I can display array text in the AA? For eg, when I'm
exploring across all quotations with "filter = buy" how do
I specify a text column called "Day of week" which shows the words "Monday",
"Tuesday", "Wednesday" etc.
>
> Thanks
>
>
>
>
> 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/
>
>
>



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/l.m7sD/LIdGAA/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/