| 
 PureBytes Links 
Trading Reference Links 
 | 
Hello, here is the principle. Put the following code in 
Automatic Analysis, chose SPY as the ticker shown in AB, 
and set ApplyTo=current stock, then click Explore, and doubleclick
the results line (it then will mark the Buy/Sell arrows on the main chart)
(in my database I have a ^VIX; maybe you need to change it below)
Filter = 1;
AddColumn(C, "dummy");
vixC = foreign("^VIX", "C");
Buy  = vixC >= 40 and Ref(vixC, -1) < 40;
Sell = vixC <= 25 and Ref(vixC, -1) > 25;
// UM
----- Original Message ----- 
From: "disciplinehedge" <NelsonChang@xxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 20, 2003 4:44 PM
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?
> 
> 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.
> 
> TIA...
> 
> (or is Amibroker not capable of working with 2 symbols 
> simultaneously?)
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/ 
 |