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

[amibroker] Re: Creating a ratio in Amibroker



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "clickoo_ka" <clickoo_ka@xxx> 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.
>




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/