PureBytes Links
Trading Reference Links
|
Dear Tom,
IndustryID does not require any arguments. It just
returns the ID of an industry to
which given stock belongs.
So you should write:
buy = IndustryID() == 2;
or for the range:
buy = IndustryID() >= 2 AND IndustryID() <=
10;
Best regards,Tomasz Janeczko===============AmiBroker - the
comprehensive share manager.<A
href="">http://www.amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Tom Supera
To: <A title=amibroker@xxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, November 02, 20012:41
PM
Subject: [amibroker] use of
industryID
Hi,
How can i use the new functions.
<FONT face="Courier New"
size=1>
Buy =
IndustryID<FONT
face="Courier New" size=1>(<FONT face="Courier New" color=#ff00ff
size=1>2);
<FONT face="Courier New"
size=1>
<FONT face=Arial
size=2>I become always the error: too many
arguments.
<FONT face=Arial
size=2>
<FONT face=Arial
size=2>Tom SuperaYour
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|