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

[amibroker] Re: Relative Strength analysis vs an Industry



PureBytes Links

Trading Reference Links

>From Amibroker Menu
Symbol > Categories > Industries tab > 
select relevant industry and insert appropriate ticker in box "Base 
indexes for: Relative strength"



--- In amibroker@xxxxxxxxxxxxxxx, "matrix10014" <allansn@xxx> wrote:
>
> --- In amibroker@xxxxxxxxxxxxxxx, "personal592002" 
> <personal592002@> wrote:
> >
> > Go to http://www.spdrindex.com/.  There are 9 actively traded 
> > sector ETFs.  Each ETF has a csv file that contains all sector 
> > constituents and constituent tickers.  Download the csv file and 
> > edit leaving just symbols, one per line.  Save and import this 
> list into a new amibroker watch list.
>  Paste this code into a new formula editor window: 
>  
> > SectorETF = ParamStr("Sector ETF ticker", "XLE" );
> > RS = RelStrength(SectorETF);
> > Plot( RS, "RS vs Sector ETF",colorBlue, styleLine );
> > Periods = Param("Periods", 65, 2, 200, 1 );
> > Plot( MA( RS, Periods ), "MA",colorRed, styleLine); 
> > Buy=Cross(RS,MA( RS, Periods ));
> > Sell=Cross(MA( RS, Periods ),RS);
> > 
> > Apply formula to chart and/or send to automatic analysis for 
> scaning 
> > and back testing on the relevant watch list.  The default sector 
> > ticker is energy.
> -------------------------------------------------------------------
-
> Thank you so much for the help,but I would still like to have the 
RS 
> ticker be automatically assigned to a particular group of 
> stocks.Using your example and the sector ETF's,how would I set up 
> the database to have all the energy stocks be assigned to the 
> relative strength ticker XLE? How would I have all the financial 
> stocks default to XLF as an RS Ticker??I would like to run a 
> backtest to determine if strong RS within a sector has any 
> significance,but i dont know how to set up my database 
> accordingly.Any help or directions appreciated
>




Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: 11/22/2006