PureBytes Links
Trading Reference Links
|
You
could find the values using foreign.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>x=foreign("XLF","C");
<FONT face=Arial color=#0000ff
size=2>y=foreign("SPY","C");\\insert your index of choice
here
<FONT face=Arial color=#0000ff
size=2>strength=x*y;
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>plot(strength,"Sector Strength",4,1);
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: jmbruegge
[mailto:jmbruegge@xxxxxxxxx]Sent: Monday, November 10, 2003 5:10
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Index
formula assistanceGreetings 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.84and 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 - jmbSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 <A
href="">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.
|