PureBytes Links
Trading Reference Links
|
<FONT
color=#0000ff>
x=Foreign(<FONT
size=2>"$vix","C"<FONT
size=2>);<FONT color=#0000ff
face=Arial>// you may need to adjust the ticker <FONT
color=#000000 size=2>
Buy=Cross<FONT
size=2>(x,40<FONT color=#282828
size=2>);<FONT
color=#000000 size=2>
Sell=<FONT
size=2>Cross(20<FONT
color=#282828 size=2><FONT color=#0000ff
face=Arial>,x);
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: disciplinehedge
[mailto:NelsonChang@xxxxxxxxxxxxxx]Sent: Tuesday, May 20, 2003 11:14
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
Newbie - Need help on system needs!Thanks. I've
found the foreign command. But how do I implement buy/sell signals for
a certain price to trigger for another symbol?--- In
amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:>
> > -----Original Message-----> From: disciplinehedge
[mailto:NelsonChang@xxxx]> Sent: Tuesday, May 20, 2003 10:44 AM>
To: amibroker@xxxxxxxxxxxxxxx> Subject: [amibroker] Newbie - Need help on
system needs!> > > Wondering if I can get some help with
the more experienced folks> here...> > Am I able to
generate buy/sell signals from one symbol, like VIX, for> another
symbol like SPY?> > Yes..... take a look at the Foreign() in the
help section> > I've been working with Amibroker for some time,
and I'm a bit> frustrated at how little I've been able to get
done.> > As the most basic example, how do I set up and test a
system to do:> > 1) Buy when VIX hits 40, sell when VIX hits
25.> 2) The buy/sell signals would be tested on SPY.> >
your code would address the Vix as a foreign() and the test would be run
on> a single issue (Spy). Instead of "Hits" 40 or 25 you may wish to
use the> Cross() function, again found in the help section.>
> TIA...> > (or is Amibroker not capable of working with 2
symbols> simultaneously?)> > I do it every day.....>
> Regards,> Jayson> > >
> Yahoo! Groups
Sponsor>
ADVERTISEMENT> > > > > 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.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
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.
|