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

Re: Var period



PureBytes Links

Trading Reference Links

John,

yes I did mean a var period available for all indicators , not only 
for moving average.and actually in MS you need a dll for this purpose.

steph


> 
> I think Steph's post was making the general point about functions 
accepting
> variable values as parameters rather than just fixed values 
(apologies to
> Steph if I have mis-interpreted his post).
> 
> e.g LLV(C,n)
> where n is a variable value previously calculated within the 
formula logic.
> This facility would be very useful. Metastock also lacks this 
facility and
> many times I have been frustrated at not being able to code a 
formula using
> true variable values as a parameter. The only crude workaround for 
simple
> cases is to code a big nested if statement. Ugh!
> 
> John
> P.S. Should suggestions like this also be posted to the Amibroker 
Wish List?
> 
> ----- Original Message -----
> From: "Tomasz Janeczko" <tj@xxxx>
> To: <amibroker@xxxx>
> Sent: Friday, April 13, 2001 7:34 AM
> Subject: Re: [amibroker] Var period
> 
> 
> > Hi Steph,
> >
> > Variable moving averages are possible currently with a new AFL 
function
> > called AMA (Adaptive Moving Average).
> >
> > See the following message for the details:
> > http://groups.yahoo.com/group/amibroker/message/1263
> >
> > Best regards,
> > Tomasz Janeczko
> >
> > ----- Original Message -----
> > From: "Stephane Carrasset" <nenapacwanfr@xxxx>
> > To: <amibroker@xxxx>
> > Sent: Friday, April 13, 2001 12:05 AM
> > Subject: [amibroker] Var period
> >
> >
> > > Tom,
> > >
> > > I see that Ami doen't accept variable period like in this 
simple code
> > > period1 = cross(rsi(5),50);
> > > period2 = barssince(period1) ;
> > > graph1=ema(c,period2);
> > >
> > > it can be " easily " to solve it ( for a programmer ) with a 
dll, or
> > > just to implement this possibility in further version .
> > >
> > > steph
> > >
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/
> >
> >