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

[EquisMetaStock Group] Re: cross fuction



PureBytes Links

Trading Reference Links


Andrew, I've put it further down in the "System/signal indicators" 
section, fifth indicator down there, "EMA x3 crossovers" link.
http://www.metastocktools.com/index.html#metastock


jose '-)


Or, to make things easier:


==============================
EMA - triple crossover signals
==============================
---8<---------------------------

{ Triggers Long (+1) & Short (-1) signals at
  crossover of triple EMAs within x periods }
{ http://www.metastocktools.com }

pdsLong:=Input("Long crossover within x periods",1,252,2);
pdsShort:=Input("Short crossover within x periods",1,252,3);
short:=Input("short EMA periods",1,252,5);
medium:=Input("medium EMA periods",2,1008,10);
long:=Input("long EMA periods",3,2520,20);
x:=Input("use Open=1 High=2 Low=3 Close=4 Volume=5 P=6",1,6,4);

x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,V,If(x=6,P,C)))));

goLong:=
 Alert(Cross(Mov(x,short,E),
 Mov(x,medium,E)),pdsLong)
 AND
 Alert(Cross(Mov(x,medium,E),
 Mov(x,long,E)),pdsLong);

goShort:=
 Alert(Cross(Mov(x,medium,E),
 Mov(x,short,E)),pdsShort)
 AND
 Alert(Cross(Mov(x,long,E),
 Mov(x,medium,E)),pdsShort);

goLong-goShort

---8<---------------------------



--- In equismetastock@xxxxxxxxxxxxxxx, Andrew Slemko <andrew_slemko@xx
..> wrote:
> Jose,
>  
> I was looking on the below link for the mentioned EMA indicator -
> I must be blind because I did not find one titled "triple EMA
> Crossover" (bow tie) tie systems. What name does it go by?
> Exponential Moving Average v2.2? EMA - improved Exponential Moving
> Average with crossover signals output choice, is that the one
> correct?
>  
> Andrew
> 
> 
> Jose <josesilva22@xxxx> wrote:
> 
> Try the "EMA x3 crossovers" - triple EMA crossover (bow tie) system 
> signals (Long/Short) at:
> http://www.metastocktools.com/#metastock
> 
> jose '-)
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "sharksfinn2001" <dougley@xxx
.> wrote:
> 
> Hi I am new to Metastock formulae language and am having difficulty.
> Can anyone help to code this for me using the cross function.
> 
> A cross of a 5 ema 10 ema and 15 ema.
> 
> Many thanks for your patience.
> Doug.






------------------------ 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/