PureBytes Links
Trading Reference Links
|
bdeckstd wrote:
> I'm a new user looking to chart stock pairs. Would appreciate help
> with creating a chart showing the following spread: AA(last price)
> *1.4-AL(last price). AA and AL being Alcoa and Alcan. Any help is
> appreciated.
when displaying AA,
spread = close*1.4 - foreign("AL","Close");
otherwise
spread = foreign("AA", "close")*1.4 - foreign("AL","Close");
--
Franco
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|