I think you should just be able to get the second stock using Foreign
and then divide the relevant arrays of the two stocks.

If you want the result saved as a new stock, use AddToComposite.

Regards,
GP


--- In [email protected], "clickoo_ka" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I've a quick question regarding Amibroker and would really appreciate 
> any help in this regard.
> 
> I need to plot two stocks together as a ratio (MSFT/ORCL). So 
> basically I need to divide daily OHLC of MSFT by OHLC of ORCL. I then 
> need to plot this "composite" stock and then apply indicators on it. 
> 
> Now I know that one can use the indicator Relative Performance in 
> Amibroker; but I need to plot the spread and then apply indicators on 
> this "new" security. 
> 
> Any help to create this new composite security would be highly 
> appreciated.
> 
> Thanks.
> Sam.
>


Reply via email to