PureBytes Links
Trading Reference Links
|
Joshik,
I've always felt that it was a pain that the inputs couldn't be used
in an explorer. The best answer for your problem is to write custom
formulas for your exploration. Like this:
{"01 Zero Lag EMA 12"}
Period:= 12;
EMA1:= Mov(C,Period,E);
EMA2:= Mov(EMA1,Period,E);
Difference:= EMA1 - EMA2;
ZeroLagEMA:= EMA1 + Difference;
ZeroLagEMA
{end}
Notice the 2 changes were locking the period to 12 and changing
the "P" to a "C". You can do the same for the 26 period then use
the call formula in your exploration.
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, "stockmarket1974"
<stockmarket1974@xxx> wrote:
>
> thanks for the information. but what i wanted is
> 1) To use the cross formula. and not put the entire code in the
explorer.
> 2) To use the fml function with diff period which may be 12 or 26
etc.
> i.e. override the default value of periods that is mentioned in the
> indicator.
>
> joshik
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "sparkie1168" <sparkie1168@>
> wrote:
> >
> > The below will show you when the market has crossed the zero lag
EMA
> > Cross(C,Fml( "01 Zero Lag EMA")) for up
> > Cross(Fml( "01 Zero Lag EMA"),C) for down
> >
> > If you want to put the code into the explorer then
> > Period:=12
> > and you could put diiferent values in the other columns
> >
> > Sparkie
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, "stockmarket1974"
> > <stockmarket1974@> wrote:
> > >
> > > Hi all,
> > > i have a zero lag moving average. named "01 Zero Lag EMA"
> > > ------------xxxx------------------------------------------
> > > Period:= Input("What Period",1,250,10);
> > > EMA1:= Mov(P,Period,E);
> > > EMA2:= Mov(EMA1,Period,E);
> > > Difference:= EMA1 - EMA2;
> > > ZeroLagEMA:= EMA1 + Difference;
> > > ZeroLagEMA
> > > ------------xxxx------------------------------------------
> > >
> > > i want to ref this indicator in the explorer but with diff
input
> > > periods. cross() of fml"01 Zero Lag EMA" with 12 period input ,
> > > mov(c,12,e)
> > >
> > > the default value of the indicator may be changed but then the
same
> > > has to be used at other places with other input period in this
> > > exploration.
> > >
> > > please advice if this is possible and if so then how.
> > > regards
> > > joshik
> > >
> >
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|