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

[amibroker] Re: Creating composites NOT in IndusrtyID 0 by default?



PureBytes Links

Trading Reference Links

Thanks - CategorygAddSymbol cane be used at the end of my code that will "move" them out of industryID 0 to IndustryID 253. cool.

--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxx> wrote:
>
> Hello,
> 
> Recently I too was interested in the same question....and presented it to support...I am including the entire
> conversation...
> 
> Anthony
> 
> Here is a response from Support:
> 
> /////Support Response
> Hello,
> 
> No - that's not correct. Please re-read my response. The assignment of the composite ticker is independent from the data it's calculated from. 
> When a composite ticker is created it's added to:
> - industry 0
> - Market 253
> - Group 253*
> (* provided that you use atcFlagCompositeGroup  http://www.amibroker.com/f?addtocomposite)
> 
> 
> The name of the composite depends on the scan. I. e. as you scan your tickers - it looks the following:
> - scan ticker1
> - calculate the formula
> - read the industry name (e.g. XXXX)
> - write your caclulations to composite ticker named ~INDXXX (new composite gets created)
> - go to the next ticker
> 
> - scan ticker2
> - calculate the formula
> - read the industry name (e.g. YYYY)
> - write your caclulations to composite ticker named ~INDYYY
> - go to the next ticker
> 
> - scan ticker3
> - calculate the formula
> - read the industry name (e.g. XXXX again)
> - write (add) your caclulations to composite ticker named ~INDXXX
> - go to the next ticker
> 
> and so on
> 
> However - that does not reassign ~INDXXX ticker - the composite will stay in default category, where each new industry ticker goes (market253, group253, Industry0) unless you reassign it yourself (either manually or with CategoryAddSymbol function).
>     
> 
> Best regards
> 
> Marcin Gorzynski
> Amibroker.com Technical Support
> 
> 
> ----- Original Message ----- 
> From: "Anthony Faragasso" <ajf1111@xxx>
> To: "AMIBROKER SUPPORT" <support@xxx>
> Sent: Monday, May 11, 2009 1:25 PM
> Subject: Re: [#59389] Fw: [amibroker] composites
> 
> 
> > Marcin,
> > 
> > I appreciate your support but I think we are talking about different things.
> > 
> > In the attached image...I show the composite ticker...INDAerospace/Defense 
> > Pro...then
> > if you look down to Industry = Accident & Health insurance...Clearly it 
> > should read ...Aerospace / Defense...Correct ? or Not...
> > 
> > Anthony
> > 
> > 
> > ----- Original Message ----- 
> > From: "AMIBROKER SUPPORT" <support@xxx>
> > To: "Anthony Faragasso" <ajf1111@xxx>
> > Sent: Monday, May 11, 2009 7:09 AM
> > Subject: Re: [#59389] Fw: [amibroker] composites
> > 
> > 
> >> Hello,
> >>
> >> Composite symbols are calculated out of particular symbols (you point in 
> >> the APPLY TO field) and their name can be based on formula (e.g. from 
> >> INDUSTRY information read from the individual tckers), but when the 
> >> composite symbol is created, then it's added to the default category i.e. 
> >> Industry0.
> >>
> >> That happens with any other composite ticker you create and that's doesn't 
> >> matter if your composite names are based on industryID function output or 
> >> not. Actually - use of IndustryID(1) is just a easy way of groupping the 
> >> data for symbols belonging to the same industry (since for each of such 
> >> tickers you're using the same name of the composite ticker), but it does 
> >> not influence category assignments for the newly created ticker.
> >>
> >>
> >> Best regards
> >>
> >> Marcin Gorzynski
> >> Amibroker.com Technical Support
> >>
> >> ----- Original Message ----- 
> >> From: "Anthony Faragasso" <ajf1111@xxx>
> >> To: "AMIBROKER SUPPORT" <support@xxx>
> >> Sent: Monday, May 11, 2009 12:46 PM
> >> Subject: Re: [#59389] Fw: [amibroker] composites
> >>
> >>
> >> This is what I do use:
> >>
> >> AddToComposite( Close, "~SEC"+SectorID(1), "X" );
> >>
> >> AddToComposite( Close, "~IND"+IndustryID(1), "X" );
> >>
> >> Please check the image attached to see what I am referring to....
> >>
> >> I am trying to do further study with the composites and need them to be 
> >> aligned properly to there respective industrys and Sectors.
> >>
> >> Thank you
> >>
> >> Anthony
> >>
> >>  ----- Original Message ----- 
> >>  From: AMIBROKER SUPPORT
> >>  To: Anthony Faragasso
> >>  Sent: Monday, May 11, 2009 6:23 AM
> >>  Subject: Re: [#59389] Fw: [amibroker] composites
> >>
> >>
> >>  Hello,
> >>
> >>  You can use IndustryID(1) function call in the composite name, so the 
> >> values will be added depending on the assignments of the symbols used in 
> >> the scan.
> >>
> >>
> >>  AddToComposite(Close, "~" +IndustryID(1), "X");
> >>
> >>
> >>  Best regards
> >>
> >>  Marcin Gorzynski
> >>  Amibroker.com Technical Support
> >>
> >>  ----- Original Message ----- 
> >>  From: "Anthony Faragasso" <ajf1111@xxx>
> >>  To: "AmiBroker Technical Support" <support@xxx>
> >>  Sent: Monday, May 11, 2009 12:02 PM
> >>  Subject: [#59389] Fw: [amibroker] composites
> >>
> >>
> >>
> >>  ----- Original Message ----- 
> >>  From: Anthony Faragasso
> >>  To: amibroker@xxxxxxxxxxxxxxx
> >>  Sent: Sunday, May 10, 2009 11:27 AM
> >>  Subject: [amibroker] composites
> >>
> >>
> >>
> >>
> >>
> >>
> >>  Hello,
> >>
> >>  When we create composites for Sectors and Industries..how do we get the 
> >> newly
> >>  created composites to align to the proper Industries and Sectors..
> >>
> >>  Example:
> >>
> >>  created composite :
> >>  ~INDTechnical services
> >>
> >>  Industry = Accident & Health Insurance...
> >>
> >>  All created Industry composites show ACCIDENT & HEALTH INSURANCE... which 
> >> clearly is wrong.
> >>
> >>
> >>  Any help appreciated...
> >>
> >>  Tomasz can you help..
> >>
> >>  Anthony
> >>
> >>   
> > 
>   ----- Original Message ----- 
>   From: gmorlosky 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Thursday, May 14, 2009 1:10 PM
>   Subject: [amibroker] Re: Creating composites NOT in IndusrtyID 0 by default?
> 
> 
> 
> 
> 
>   Any thoughts ?
> 
>   --- In amibroker@xxxxxxxxxxxxxxx, "gmorlosky" <gmorlosky@> wrote:
>   >
>   > It seems that all composites I create end up in IndustryID 0 (Accident and Health Insurance). Is there a way to create them with their own Industry ID ?
>   >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/