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

[EquisMetaStock Group] Re: Triple Moving Average Crossover



PureBytes Links

Trading Reference Links

Charles,

I can think of several methods that you could use. 
Those being the cross function, barssince function, and the ref 
function.

One of the gurus popularizing multiple moving averages was Daryl 
Guppy.
An explorer based on his ideas can be found at:

http://trader.online.pl/MSZ/e-ex-
Guppy_Multiple_Moving_Average_Exploration.html


Notice that the exploration uses column D for the present value and 
column E for yesterdays.
The exploration then specifically looks for a less than zero value 
for yesterday and a greater than zero value for today. I would also 
point out that the exploration uses oscillators but the idea is still 
the same using moving averages.


The cross function is pretty straight forward.
ColumnD: AB/CROSS
Cross(Mov(CLOSE,8,E),Mov(CLOSE,13,E));

Finally there is the barssince function which will tell you how many 
bars have elapsed since the event:
ColumnD: B/Since
BarsSince(Cross(Mov(CLOSE,8,E),Mov(CLOSE,13,E)));

Hope this helps,

Preston 


--- In equismetastock@xxxxxxxxxxxxxxx, "cherotree1" <mass54thcob@xxx> 
wrote:
>
> I am using the following code to identify securities in which 2 
> shorter term moving averages are above a longer term moving average:
> 
> Col A MOV-8: mov(c,8,e)
> Col B MOV-13: mov(c,13,e)
> Col C MOV-21: mov(c,21,e)
> 
> Filter:
> colA>colB AND colB>colC
> 
> 
> The above code DOES give me a list of ALL securities which meet 
that 
> criteria (including columns with the various moving averages 
> printed) but I was attempting to include code which will identify 
> these securities WHEN they first meet that criteria (a crossover). 
> Any suggestions on how I would program this into the above formula 
> would be appreciated. Peace!
> 
> Charles
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

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