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

Re: [amibroker] AB Help files and Base Index for Relative Strength



PureBytes Links

Trading Reference Links

Steve.

Problem resolved by doing the following.

For Broad market average

Dispensed with foreign and simply used Relstrength(ticker of average).

For Industry Rel Strength

GetBaseindex used with industrial segment specific  ATC based indices set as base indices for respective sectors in Symbol------>Category----->Industry


Thanks very much for responding.

Regards


Rakesh

On 11/30/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
Hi,
 
No, TKRNM will either be 1 or 0, depending on whether SetForeign has found the ticker you specified. ( BTW, no need to assign result of SetForeign to a variable unless you are planning to test it to verify that it found the foreign ticker OK. )
 
I don't know who your data provider is or what they supply - I am using TC2K at the moment, and I have filled in the base index for each industry so that, by just calling GetBaseIndex(), I can automatically get the correct industry index for each ticker. For broad market, I just call SP500 by name since I use that for all tickers. I usually just use Foreign() if I only need Close, or SetForeign/RestorePriceArrays if I need more. I thiink either way would work for ATC tickers also. Let me know if this answers your question...
 
Steve
----- Original Message -----
Sent: Tuesday, November 29, 2005 7:26 PM
Subject: Re: [amibroker] AB Help files and Base Index for Relative Strength

Hi Steve,

Thanks for your response. To elaborate a bit further on the issue - if I want to check for strength vis-a-vis a broad market average such as the S&P 500 for instance and also relative strength within an industry/group using an index created with ATC, one would have to use the setforeign function? If that be the case is the following the correct usage of setforeign and relstrength functions:-


TKRNM=SetForeign("CNX500",fixup=True,tradeprices=False);
RSC=RelStrength("tkrnm",fixup==1 );

Thanks once again for your help.
Regards


Rakesh
On 11/30/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
>          
> Hi - You can only use one Base Index and the order  of precedence is
>  
> Group > Industry > Market
>  
> It will retrieve the first one that you have filled  in, so if you want RS for Industry, don't fill in RS on the Groups  tab. If you want to use Market, leave both the other tabs blank.
>  
> Steve
>
>    
> ----- Original Message -----    
> From:    Rakesh    Sahgal    
> To: Amibroker Yahoogroup    
> Sent: Tuesday, November 29, 2005 9:15    AM  
> Subject: [amibroker] AB Help files and    Base Index for Relative Strength  
>
> Hi all,
>
> Am  confused about setting of Base Index    for Rel Strength via Symbol--->Categories.  The Base Index can be set    both for group and sectors. The GetBaseIndex() function is used to retrieve    which base index value, that for the group or the sector? If this brings the    base index value for the group  how does one retrieve the base index    value for the sector?
>
> Also the AFL help had links to the AB server    clicking on which, would bring up the relevant page with examples of usage of    the function in question. Yesterday I clicked on help and found that the link    was missing. Have I messed up the help files or the new help files do not have    the links anymore? The ver. of AB that I am using is 4.74.6beta.
>
> TIA    for any help
> Regards
>
>
> Rakesh
>
>    
>
>   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  
>  
>    
>  Visit your group "amibroker" on the web.
>    
>  To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>    
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.  
>  
>    ________________________________
        



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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS






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