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

Re: [amibroker] Industry to Group



PureBytes Links

Trading Reference Links

Thomas
"Does anyone know of a way to assign all the
Symbols within a specific Industry to a specific Group?"

Thomas,
 
This will be performed in the AA window using Scan...
All stocks
n last quotations
n=1
 
//code starts here
 
if(IndustryID() == insert your id# here) 
 

 
CategoryAddSymbol("",categoryGroup,Insert Group # here);
}
Buy=0;

// ends here
----- Original Message -----
Sent: Saturday, July 09, 2005 7:58 PM
Subject: Re: [amibroker] Industry to Group

Thanks Anthony, however I am quite the novice. I don't even know what
to do with the code you suggested? I had been trying to accomplish the
task by using Symbol/Organize Consignments in AB.

On 7/9/05, Anthony Faragasso <ajf1111@xxxxxxxx> wrote:

> Something like:
>  

>
> if(IndustryID()==insert your id here)
>
> {
>
> CategoryAddSymbol("",categoryGroup,Insert Group number here);
>
> }
>


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.11/45 - Release Date: 7/9/2005


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS




No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.11/45 - Release Date: 7/9/2005