PureBytes Links
Trading Reference Links
|
Maltish,
This works for the Australian market.
Nick
sector = WriteIf(SectorID()==1,"xej", WriteIf( SectorID()==2, "xmj",
WriteIf( SectorID()==3, "xnj",
WriteIf( SectorID()==4, "xdj",
WriteIf( SectorID()==5, "xsj",
WriteIf( SectorID()==6, "xhj",
WriteIf( SectorID()==7, "xfj",
WriteIf( SectorID()==8, "xij",
WriteIf( SectorID()==9, "xpj",
WriteIf( SectorID()==10, "xuj",
WriteIf( SectorID()==11, "xjo",
"xao" ))))))))))); //find sector codes for each stock
Plot(C,"Stock",colorYellow,styleCandle); //plot the stocks candle chart
PlotForeign(sector,sector,colorPink
,styleThick/styleLine+styleOwnScale);//overlay the stocks sector index
----- Original Message -----
From: "Maltish Murthy" <maltish@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, September 06, 2005 12:25 AM
Subject: Re: [amibroker] Using Relative Strength
> Hello Terry,
>
> Yes, I know about the In-build one. What I actually wanted to do is
> have a Explore on the Relative Strength of each Scrip compared to
> either its Sector Composite or the Index.
>
> I tried using the RelStrength function to Explore, but didnt work out
> as expected.
>
> Will be thankfull if you or anyone else here could guide me as to how
> to go about this.
>
> Thanks
>
> Maltish
>
> On 03/09/05, Terry <MagicTH@xxxxxxxxxxx> wrote:
> > I'm pretty sure there is a built-in chart for doing this.
> >
> > --
> > Terry
> >
> > | -----Original Message-----
> > | From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> > | Behalf Of Maltish Murthy
> > | Sent: Saturday, September 03, 2005 00:11
> > | To: amibroker@xxxxxxxxxxxxxxx
> > | Subject: [amibroker] Using Relative Strength
> > |
> > | Hello Guys,
> > |
> > | How do I compare mutiple securities using RelStrength. I tried to do
> > | this by
> > |
> > | Plot(RelStrength("~Consumer - Non
> > | Durables"),"",colorDarkBlue,styleLine);
> > | Plot(RelStrength("~Metals & Mining"),"",colorGreen,styleLine);
> > | Plot(RelStrength("~Automotive"),"",colorYellow,styleLine);
> > |
> > | But somehow, this seems to be wrong. What is the correct method.
> > |
> > | Regards
> > |
> > | Maltish
> > |
> > |
> > |
> > |
> > |
> > | ------------------------ Yahoo! Groups Sponsor --------------------~--
> > | >
> > | Help tsunami villages rebuild at GlobalGiving. The real work starts
> > | now.
> > | http://us.click.yahoo.com/njNroD/KbOLAA/cosFAA/GHeqlB/TM
> > | --------------------------------------------------------------------~-
> > | >
> > |
> > | 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
> > |
> > |
> > |
> > |
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
>
>
>
> 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
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/r7D80C/dlQLAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|