PureBytes Links
Trading Reference Links
|
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
------------------------ 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/
|