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

Re: [amibroker] RestorePriceArrays()



PureBytes Links

Trading Reference Links

> SetForeign("MSFT");
Replaces the price arrays ( OHLC etc ) of the current ticker with those of 
MSFT

> Plot( Ultimate(), "Ultimate from MSFT", colorRed );
Plots the Ultimate Oscillator derived from MSFT prices. That's just a simple 
example, there is lots of stuff you can do, for example you could plot the 
S&P, Sector and Industry for your ticker, or anything derived from them.

> RestorePriceArrays();
When finished doing stuff with other tickers, set the price arrays back to 
the prices for the current ticker at the top of the screen. Good 
housekeeping if nothing else, if you don't do it prices will still be set to 
the last SetForeign ticker you called and it is easy to forget and wonder 
why Amibroker isn't working right   8 - )

Steve


----- Original Message ----- 
From: "haiguise" <sherif626@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, July 31, 2009 2:27 AM
Subject: [amibroker] RestorePriceArrays()


> Can Someone Explain to me what Exactly RestorePriceArray does and when I 
> would need to call it and What happens if I dont. In the Reference, There 
> is
> // Example 1: Plot the indicator using foreign security data
> SetForeign("MSFT");
> Plot( Ultimate(), "Ultimate from MSFT", colorRed );
> RestorePriceArrays();
>
>
> Why Do I need RestorePriceArrays() called? Thanks
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
> 




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/