SPY = Foreign("SPY","C");
Qs   = Foreign("QQQQ","C");
Ratio = Qs / SPY;

Plot(Ratio,....)


----- Original Message ----- 
From: "samu_trading" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 01, 2008 10:02 PM
Subject: [amibroker] How to plot QQQQ/SPY ratio - AFL


> All,
> 
> I'm afraid I'm a hopeless cas with AFL. How can I create a simple 
> indicator which plots the ratio of QQQQ to SPY (simple division). The 
> challenge for me is how to tell AB that I want the ratio of these two 
> symbols only.
> 
> Thanks, Sammi
> 
> 
> ------------------------------------
> 
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
> 
> 
> 

Reply via email to