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

Re: [amibroker] New to Amibroker & need some help.....



PureBytes Links

Trading Reference Links

AddToComposite(Close, "~MyIndex", "C" );
AddToComposite(H, "~MyIndex", "H" );
etc

Then plot from within SetForeign();..........RestorePriceArrays(); as
can be seen in the help for SetForeign example

-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com



On 23/01/2008, trendchange <trendchange@xxxxxxxxx> 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.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: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/