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

[amibroker] Re: Any way to use more field codes for composite indexes?



PureBytes Links

Trading Reference Links

Thanks Graham, as always.  But I need further help with this.   
Exactly how do I create a separate sector composite, since I'm using 
SectorID(1) to automatically generate composite indexes in all 
sectors?    


AllSectCount= "~" + "SectorID(1);

Ab20MA=C>MA(20, C);
Ab50MA, etc.....

AddtoComposite(Ab20MA, AllSectCount,"O");
AddtoComposite(Ab50MA, AllSectCount,"H");
etc.....

It seems to me that whatever I do, it will automatically assign to 
the same sector indexes.  And once I use up these six field codes, 
then I'm out of luck.  Of course, if I create composites for each of 
these sectors and then scan individually, then I should be OK.  But 
you are talking about 31 sectors in the TC2K database!!  

Cheers,
KC











--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanag@xxxx> wrote:
> Create more than one composite.
> You only need to move to the composite the percent number and 
create a
> line chart, so you could get 6 in one composite.
> 
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia
> 
> -----Original Message-----
> From: ujr4s <ujr4s@xxxx> [mailto:ujr4s@x...] 
> Sent: Wednesday, 26 February 2003 5:40 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Any way to use more field codes for composite
> indexes?
> 
> Hi, all, 
>  
>       Besides using OHLCVI, is there any other way to store 
> information for composite indexes?   Say, I want to look at the 
> percentage of stocks trading above 20, 50, and 200 day MAs, and so 
> on... for all sectors.  Since it easily uses up all six of these 
> field codes, is there any way to work around that?  
> 
> Thanks for tips.
> 
> KC
> 
>   
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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/