PureBytes Links
Trading Reference Links
|
Rua,
I believe the problem is Mov(C,20,S) > Mov(C,150,W). That is a pretty
big timespan. Is it really needed?
Place all the indicators on a chart and see how it looks. Think about
simplifying the indicator. Use just what is necessary.
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, ruagoodp <no_reply@xxxx> wrote:
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxxx>
wrote:
> >
> > Rua,
> >
> > In metastock its common to use binaries to achieve a goal such as
> > this. In order to write the indicator you will have to provide
your
> > first condition where indicated.
> >
> > firstsig:={enter your 1st indicator here};
> > secondsig:= C >mov(c,20,s) and adx(13) > 25;
> > entry:= if(firstsig = 1 and secondsig = 1,1,0);
> > entry
> >
> > What happens is that the first signal will equate to one when it
is
> > true else its zero. The same applies for the second signal. When
both
> > signals equal one in the entry variable you will get a 1 else it
will
> > be 0. Another option is to simply add the conditions like this:
> >
> > entry:=firstsig + secondsig;
> >
> > When a two is given then you know that both conditions have been
met.
> >
> >
> > Preston
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, Alexandre Saveliev
> > <asavelievca@xxxx> wrote:
> > > Try C >mov(c,20,s) and adx(13) > 25 and ref(C >mov(c,20,s) and
adx
> > (13) > 25 , -1)
> > >
> > >
> > >
> > > Alex
> > >
> > >
> > > ruagoodp <no_reply@xxxxxxxxxxxxxxx> wrote:
> > >
> > >
> > > Hi all,
> > >
> > > It seems simple enough to me but I can't seem to construct the
> > formula.
> > > What I want is to generate an entry signal after another signal
has
> > > been generated earlier.
> > >
> > > My criteria for entry are C >mov(c,20,s) and adx(13) > 25 only
> > after a
> > > previous signal has been generated.
> > >
> > > Is this possible?
> > >
> > > Rua
>
>
> Thanks for that! I fiddled with the entry signal thus:
>
> firstsig:={enter your 1st indicator here};
> secondsig:=Mov(C,20,S) > Mov(C,150,W) and adx(13) > 25 and c >
> Mov(C,20,S) and c > Mov(C,150,W);
> entry:= if(firstsig = 1 and secondsig = 1,1,0);
> entry
>
> I now find that it does not generate the second signal properly.
What
> am I doing wrong here?
>
> Rua
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/
|