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

[EquisMetaStock Group] Re: cross fuction



PureBytes Links

Trading Reference Links


Lee, try the following:

MetaStock -> Tools -> Indicator Builder -> New ->
Copy and paste whole formulae below, between the "---8<-----" lines.


jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, GH LEE <ghl89882020@xxxx> 
wrote:
hI JOSE,
i TRIED TO COPY & PASTE ON METASTOCK IT DOES NOT WORK .PLEASE ASSIST
ME.i AM NEW METASTOCK  USER.. YOUR REPLY ILL BE GREATLY APPECIATED.
 
FROM:GHLEE


Jose <josesilva22@xxxx> wrote:

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








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