Whoo Hoo!!!! I got it too work! Thanks Graham!
----- Original Message ---- From: Graham <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, January 23, 2008 3:09:04 PM Subject: Re: [amibroker] New to Amibroker & need some help..... AddToComposite( Close, "~MyIndex", "C" ); AddToComposite( H, "~MyIndex", "H" ); etc Then plot from within SetForeign() ;........ ..RestorePriceAr rays(); as can be seen in the help for SetForeign example -- Cheers Graham Kav AFL Writing Service http://www.aflwriti ng.com On 23/01/2008, trendchange <trendchange@ yahoo.com> wrote: > Hi there! > > My name is Dave and I am new to Amibroker and to coking in general. > I have gotten to the point where I want to start setting up some > sustom composites and can't figure how to make some things happen. > > The first thing that I did was created a custom index as per the > AddToComposite function. I used this code taken from the manual: > > /* AddToComposite statements are for Automatic Analysis -> Scan */ > /* add Close price to our index OHLC fields */ > AddToComposite( Close, "~MyIndex", "X" ); > > /* add one to open intest field (we use this field as a counter) */ > AddToComposite( 1, "~MyIndex", "I" ); > > > buy = 0; // required by scan mode > > /* this part is for Indicator */ > graph0 = Foreign( "~MyIndex", "C" )/Foreign( "~MyIndex", "I" ); > > I created the index and was able to pull it up on my charts. Now > from what I can tell the index is calc. with closing prices. How do > I go about creating O,H,L,C and charting that? I tried adding those > to the section where is says close and it didn't work. Thanks For > the help! I'm on my way! > > Dave > > > > > > 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.amibroke r.com/devlog/ > > For other support material please check also: > http://www.amibroke r.com/support. html > > Yahoo! Groups Links > > > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
