PureBytes Links
Trading Reference Links
|
Thanks Jayson!
I modified it to this
x=Foreign(<FONT
color=#ff00ff size=1>"!spx",<FONT color=#ff00ff
size=1>"C");//use the
correct syntax for your data supplier
y=Foreign(<FONT
color=#ff00ff size=1>"!VIX",<FONT color=#ff00ff
size=1>"C");
test=y/x;// or what ever calculation you
wish
Plot((<FONT
face="Courier New" size=1>test),""<FONT
size=1>,4,<FONT
color=#ff00ff size=1>1);<FONT face="Courier New"
color=#0000ff size=1>
Plot(<FONT face="Courier New"
color=#0000ff size=1>EMA<FONT face="Courier New"
size=1>(test,20<FONT
face="Courier New" size=1>), <FONT face="Courier New" color=#ff00ff
size=1>"",<FONT face="Courier New"
color=#ff00ff size=1>6,<FONT
face="Courier New" color=#ff00ff size=1>1<FONT face="Courier New"
size=1>);
Thanks
again,
<FONT face=Arial
size=2>Brian
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=jcasavant@xxxxxxxxxxxx
href="">Jayson
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, March 18, 2003 9:18
AM
Subject: RE: [amibroker] VIX
<SPAN
class=410521015-18032003>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 face=Arial
color=#0000ff>//use the correct syntax for your data
supplier<FONT
color=#0000ff>
y=Foreign(<FONT
size=2>"!VIX",<FONT
size=2>"C"<FONT face=Arial
color=#0000ff>);
test=y/x;<FONT face=Arial
color=#0000ff>// 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.
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.
|