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

RE: [EquisMetaStock Group] 3-way Moving Average Crossover



PureBytes Links

Trading Reference Links

This is a simple trend indicator I put together based on a 3 MA crossover
system, using some of Roy and Joses's technology. It uses the ability of 3
MAs to show neutral as well as up/down zones. To use it as is, paste into a
new indicator and set your style to histogram (the output is binary). You
can adapt this to an Exploration - just set the MAs to your desired lengths.


Andrew    


---------------------------------------------------------------------
{3 MA Trend Indicator. Andrew Tomlinson 2004}


B1:= Input("Enter bars for MA1",1,300,4);
B2:= Input("Enter bars for MA2",1,300,9);
B3:= Input("Enter bars for MA3",1,300,18);

MA1:= Mov(C,B1,S);
MA2:= Mov(C,B2,S);
MA3:= Mov(C,B3,S);

EL:=MA1>MA2 AND MA2>MA3;
CL:=MA1<=MA2 OR MA2<=MA3 OR MA1<=MA3 ;
ES:=MA1<MA2 AND MA2<MA3 ;
CS:=MA1>=MA2 OR MA2>=MA3 OR MA1>=MA3;

I:= Cum(EL+CL+ES+CS>-1)=1; 
Long:= BarsSince(EL+I) < BarsSince(CL+I);
Short:= BarsSince(ES+I) < BarsSince(CS+I);
Long;
-Short;


-----Original Message-----
From: dahbull@xxxxxxxxx [mailto:dahbull@xxxxxxxxx] 
Sent: Tuesday, July 20, 2004 10:46 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] 3-way Moving Average Crossover


Would appreciate help for an exploration formula involving 3-way 
crossover of simple moving averages, 20, 35, 50.  The idea is to 
catch an early trend to the upside on the initial crossover of the 
three averages.  Conversely, the crossover to the downside would 
indicate a trend reversal.  Please advise.




 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/