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

[EquisMetaStock Group] Need codes for finding the trough of an oscillator



PureBytes Links

Trading Reference Links

I have the following oscillator and would like to know whether there 
is a better way of finding the "trough" (valley) when the
oscillator 
moves from the negative zone and starts to move upwards.


{oscillator}
CP:=Mov(ROC(C,14,%)+ROC(C,11,%),10,W); 

{oscillator below zero line - in negative zone}
CP<0 

{finding the trough}
{moving upwards on latest period}
{and moving downwards last 6 periods}
AND CP>Ref(CP,-1) AND 
Ref(CP,-1)<Ref(CP,-2) AND
Ref(CP,-2)<Ref(CP,-3) AND
Ref(CP,-3)<Ref(CP,-4) AND
Ref(CP,-4)<Ref(CP,-5) AND
Ref(CP,-5)<Ref(CP,-6)

Any comments on the above codes will be much appreciated.

Thank you and best regards,
ALM







------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h0jsq16/M=362343.6886682.7839641.1493532/D=groups/S=1705375617:TM/Y=YAHOO/EXP=1124046166/A=2894350/R=0/SIG=10tj5mr8v/*http://www.globalgiving.com";>Make a difference. Find and fund world-changing projects at GlobalGiving</a>.</font>
--------------------------------------------------------------------~-> 

 
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/