See the SetForeign Function

// Example 1: Plot the indicator using foreign security data
SetForeign("MSFT");
Plot( Ultimate(), "Ultimate from MSFT", colorRed );
RestorePriceArrays();

HTH
Joe

----- Original Message ----- 
From: "Vinay Gakkhar." <[EMAIL PROTECTED]>
To: "amibroker" <[email protected]>
Sent: Monday, August 06, 2007 6:28 AM
Subject: [amibroker] ROC FOR FOREIGN


> Like I use ROC( Close, 1 ) for getting percentage rate of change of a 
> stock, how can I get percentage rate of change of a foreign stock or 
> index, say MSFT or ^DJI ?
>
> Thanks,
>
> gakkhar
> -- 
> B.Rgds/ Vinay Gakkhar
> Gakkhar International, New Delhi (India)
> Mobile: 0091 98 10521399
> Tel: 0091 11 25250911
> Fax: 001 941 8273708
> EMails: [EMAIL PROTECTED], [EMAIL PROTECTED]
> MSN: [EMAIL PROTECTED], Yahoo: vgakkhar
> Websites:  www.gakkhar.com, www.gakkhar.org
>
>
> 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
>
>
>



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:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to