[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Vix signals



PureBytes Links

Trading Reference Links

John,

 

Use the foreign function to fix the ticker of the VIX…………

 

See the modification of the code below.

 

Regards,

 

Mike

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of John B
Sent: Friday, December 16, 2005 2:21 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Vix signals

 

Hello,

Using AFL is it possible to trigger buys in one symbol using a
different symbol?  ex.  Buy SPY when $VIX > 16

If so, how would I use it in the following 'example' using weekly data?

 

 


Buy = MA(foreign(“$VIX”,”c”),15) < Ref(MA(foreign(“$VIX”,”c”),15),-1)
where it would buy SPY when the $VIX MA(15) was less than a week ago.

Thank you,
John B










Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS