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

Re: [amibroker] Re: Embarrassingly simple question from programming illiterate



PureBytes Links

Trading Reference Links

slight change, and this does call your indicator values as you called it X
just run Explore with the AFL running into AA window
Filter = 1;      // this will process all results
AddColumn(x,"X");

by the way what you ahve can also be written as
x = ROC(C,252,0);


On 10/20/05, jeremy7827110028 <jberkovits1@xxxxxxxxxx> wrote:
> thanks for the quick reply.  How do I call the custom indicator?
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxxx> wrote:
> >
> > You need a Filter Statement
> >
> > Filter = 1==1;      // this will process all results
> > AddColumn(x,"X");
> >
> >
> > ----- Original Message -----
> > From: "jeremy7827110028" <jberkovits1@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Wednesday, October 19, 2005 2:06 PM
> > Subject: [amibroker] Embarrassingly simple question from programming
> > illiterate
> >
> >
> > > I have written a simple indicator that plots the 252 day percent
> change:
> > >
> > > X= (C-Ref(C,-252))/Ref(C,-252);
> > >
> > >
> > > Plot( x, "252 PCT Change", colorGreen );
> > >
> > > I tried to us the AddColumn statement without success.  How can I
> add
> > > the custom indicator result to an exploration?  I also have
> several
> > > functions in Excel that I would like to convert to AFL to use in
> > > indicators and explorations.  Any information on the best way to
> > > reference functions is greatly appreciated.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > 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 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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