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

Re: [amibroker] how to create combined ticker in Amibroker and chart it



PureBytes Links

Trading Reference Links



Agree with Steve.
In this case you may not want to create a new ticker. Otherwise you would need to update it every time data changes in the underlying tickers. Use Foreign() works best.

On Mon, Sep 28, 2009 at 12:16 PM, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
 

Hi - Since you want to create a new ticker you could put your 5 starting
tickers into a watchlist and then run AddToComposite() function over the
list. You can read about AddToComposite by using Search tab in the user
guide and also I think there is a very good tutorial by Herman in the files
section.

Would probably be simpler if you could get by without actually creating a
ticker but just an AFL named MPLSUTIL, e.g. -

Input1 = Foreign( "epd", "close" );
Input2 = Foreign( "paa", "close" );
....
MyIndex = ( 0.25 * Input1 ) + ( 0.15 * Input2 )....
Plot( MyIndex...

Steve



----- Original Message -----
From: "dicric_71" <bdvorak@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, September 28, 2009 11:22 AM
Subject: [amibroker] how to create combined ticker in Amibroker and chart it

>I have studied AB help , tested some formulas, but I am little lost. Hope
>somebody can help me.
>
> I want to create ticker
> ticker = ( 0.25 * EPD ) + ( 0.15 * PAA ) + ( 0.20 * RGNC ) + ( 0.15 * KMP)
> + (0.25 * ETP)
> and have it under name MPLSUTIL in symbol list and then have it in list of
> symbols with possibility to chart it in chart window (candlestick chart).
>
> Can somebody help me how to do it ?
>
> Thank you in advance,
> Richard
>
>
>
> ------------------------------------

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





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___