Sorry guys,
 
My mistake.  I was thinking that the 3 lines listed below was the "formula" James was looking for.  I now understand that he is looking for the actually formula for the indicator function (RSI, STOC, etc.) and for that I have no clue as it is built in.
 
Tomasz would have to answer this question because I am sure that those functions are built-in and are not editable.  Although he is not trying to hide anything and gives us the ability to create our own functions.

Here is a clip from the help file:
//******************************************************************
//TEMA can be implemented via EMA:

Len=10;
MyTEMA = 3 * EMA(Close,len) - 3 * EMA(EMA(Close,len),Len) + EMA(EMA(EMA(Close,len),len),len);

Plot(MyTEMA,"MyTEMA",colorBlue);

// for comparison only
Plot( TEMA( Close, Len ), "Built-in TEMA", colorRed );
//********************************************************************
 
And here is a good link from Wikipedia on moving averages:
http://en.wikipedia.org/wiki/Moving_average_(technical_analysis)
 
And this site is pretty good for providing the underlying math for each of the indicators (but not sure if this math matches that of AB):
http://www.fmlabs.com/reference/default.htm?url="">
 
Dave
MM


From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, September 01, 2006 3:14 PM
To: [email protected]
Subject: Re: [amibroker] indicator formulas

periods = Param( "Periods", 15, 1, 200, 1 );

Ksmooth = Param( "%K avg", 3, 1, 200, 1 );

Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );

 

Yes I get that as well,but you dont see the formula itself...at least i dont



----- Original Message -----
From: Fred <[EMAIL PROTECTED]>
Date: Friday, September 1, 2006 5:38 pm
Subject: Re: [amibroker] indicator formulas
To: [email protected]

> For me ... Right click and edit brings up the same code as when
> I
> open it directly with the formula editor i.e. all of it ...
>
> periods = Param( "Periods", 15, 1, 200, 1 );
> Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
> Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor
> ( "Color", colorCycle ), ParamStyle("Style") );
>
> --- In [email protected], [EMAIL PROTECTED] wrote:
> >
> > Hi Dave,
> >
> > I am encountering the same issues as James.When you right
> click on
> the indicator and hit EDIT,you dont necessarily get the full
> code for
> the indicator.Take a look at %K,fast stochastic as an
> example.The
> typical measure is ;
> >
> > close- llv(low,15)
> > _________________
> > hhv(high,15)-llv(low,15)
> >
> > Amis code is
> >
> > periods = Param( "Periods", 15, 1, 200, 1 );
> >
> > Allan
> >
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: MarketMonk777
> > Date: Friday, September 1, 2006 4:26 pm
> > Subject: RE: [amibroker] indicator formulas
> > To: [email protected]
> >
> > > Hi James,
> > >
> > > What version of AB do you have? How do you select RSI for
> > > example? Instead
> > > of clicking on it or dragging it, you can't right mouse
> click
> > > and get a list
> > > of options (one of which is to edit it?).
> > >
> > > Another option is if RSI is already on a chart, you can
> right
> > > mouse click on
> > > the pane that has RSI and select "Edit Formula".
> > >
> > > My first option allows you to see all of the built in indicators.
> > >
> > > Dave
> > >
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[EMAIL PROTECTED] On Behalf
> > > Of James
> > > Sent: Friday, September 01, 2006 1:04 PM
> > > To: [email protected]
> > > Subject: RE: [amibroker] indicator formulas
> > >
> > > This doesn't work for me. For example, if I edit RSI I
> > > get:
> > >
> > > SetChartOptions(0,0,chartGrid30|chartGrid70);
> > > periods = Param( "Periods", 15, 1, 200, 1 ); Plot( RSI( periods),
> > > _DEFAULT_NAME(), ParamColor "Color", colorCycle ),
> > > ParamStyle("Style") );
> > >
> > > You don't see the formula for RSI, just the plotting
> > > characteristics. I
> > > assume this is because RSI is "built-in". What I was
> wouldlike
> > > to see is the
> > > formula.
> > >
> > > James
> > >
> > > --- MarketMonk777 wrote:
> > >
> > > > Hi James,
> > > >
> > > > Have you tried clicking on the Charts tab, and then
> pinning it
> > > open,
> > > > and then right-mouse clicking on any of the built-in
> > > indicators and
> > > > selecting the "edit" option?
> > > >
> > > > That should bring up the AFL editor window with the code
> for
> > > that
> > > > selected indicator.
> > > >
> > > > Regards,
> > > >
> > > > Dave
> > > > MM
> > > >
> > > > -----Original Message-----
> > > > From: [email protected]
> > > > [mailto:[EMAIL PROTECTED] On Behalf Of jamesmemphis
> > > > Sent: Thursday, August 31, 2006 12:47 PM
> > > > To: [email protected]
> > > > Subject: [amibroker] indicator formulas
> > > >
> > > > Is there anyway to view the formulas for the standard
> > > indicators
> > > > included in amibroker?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > >
> > >
> > > 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






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to