PureBytes Links
Trading Reference Links
|
Sure,
use foreign to compare one to the other.
<SPAN
class=410521015-18032003>
<FONT
color=#0000ff>
x=Foreign(<FONT
size=2>"!spx","C"<FONT
size=2>);<FONT color=#0000ff
face=Arial>//use the correct syntax for your data supplier<FONT
color=#282828 size=2>
y=Foreign(<FONT
size=2>"!VIX",<FONT
size=2>"C"<FONT color=#0000ff
face=Arial>);
test=y/x;<FONT
color=#0000ff face=Arial>// or what ever calculation you wish<FONT
color=#0000ff size=2>
Plot(<FONT color=#0000ff
size=2>MA(test,<FONT color=#ff00ff
size=2>10),<FONT color=#ff00ff
size=2>"",<FONT color=#ff00ff
size=2>4,<FONT color=#ff00ff
size=2>1<FONT
face=Arial>);
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Brian Elijah
[mailto:cadvantag@xxxxxxxxxxxxxx]Sent: Tuesday, March 18, 2003 10:02
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
VIX
I have not created a indicator using a index before
and I was wondering if is it possible to create a graph that compares the price
of the S & P 500 (or Nasdaq) to the VIX and create a 20 day Moving
Average of that?
Thanks,
Brian
Send
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.
|