PureBytes Links
Trading Reference Links
|
How about
y=foreign("SPY","C"); // insert
your index of choice here
strength=Close*y;
plot(strength,"Sector Strength",4,1);
and go through all the ETF quotes you want to see.
Thomas
<span
>-----Original Message-----
From: jmbruegge
[mailto:jmbruegge@xxxxxxxxx]
Sent: Tuesday, November 11, 2003
11:10 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Index
formula assistance
<span
>
<span
>Jayson -<font size=2
face="Courier New">
thanx for the reply - It looks great but what if i
wanted to make
the "X" variable change anytime I plug
in a new quote and keep
the "Y" a constant with the S&P 500
? This way whatever quote I am
looking up (usually a sector quote)can be run
against the S&P 500 for
a strength comparison chart. It looks like with
this current formula
i would have to go in each time and edit my actual
formula where the
X information is.
Any thought (anyone) - thanks in advance
cheers
jmb
--- In amibroker@xxxxxxxxxxxxxxx,
"Jayson" <jcasavant@xxxx> wrote:
> You could find the values using foreign.
>
> x=foreign("XLF","C");
>
y=foreign("SPY","C");\\insert your index of choice here
> strength=x*y;
>
> plot(strength,"Sector
Strength",4,1);
>
> Regards,
> Jayson
> -----Original Message-----
> From: jmbruegge [mailto:jmbruegge@xxxx]
> Sent: Monday, November 10, 2003 5:10 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Index formula assistance
>
>
> Greetings all -
>
> I am trying to come up with a chart showing
the following scenario :
>
> " The S&P Financial Index iShare
(symbol= XLF) multiplied by the S&P
> 500 Index"
>
> so it would show $26.62 x
1046.20 = 27849.84
>
> and then graphing this out on a chart. Does
anyone know if and how I
> could write a formula for this ?
>
> I am trying to demonstrate sector index
strength versus the overall
> market .
>
> All help is appreciated.
>
>
> cheers - jmb
>
>
>
> Yahoo!
Groups Sponsor
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
> (Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to the
Yahoo! Terms of Service.
<font size=2
face="Courier New">Send BUG REPORTS to
bugs@xxxxxxxxxxxxx<span
>
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|