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

RE: [Metastockusers] Peak Value / Highest Value ...



PureBytes Links

Trading Reference Links

Jose posted a partial solution to this a month or so ago. It gives current
values for the detrended oscillator, but not the historicals, so you can't
back test. Your alternatives are to buy the Coast Investment Software
package or use another measure to approximate the same thing. There's not
necessarily any magic to the three peaks formulation - you can play with 80
or 90% of the last x month range for the moving average deviation, for
example.

Andrew


-----Original Message-----
From: Metastockusers@xxxxxxxxxxxxxxx [mailto:Metastockusers@xxxxxxxxxxxxxxx]
On Behalf Of cav609
Sent: Wednesday, May 04, 2005 8:44 AM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: [Metastockusers] Peak Value / Highest Value ...


Hi

Am trying to write code to identify the 3 largest peaks (highs) during 
the last 130 bars of a simple function C-Mov(C,7,S).  I can get the 
largets peak: hhv(C-Mov(C,7,S),130) but how do I get the next 2 lowest 
peaks during the timeframe?   Tried the PEAK set of functions but dont 
seem to be getting anywhere!!

Any help MUCH appreciated

cav






 
Yahoo! Groups Links



 






------------------------ 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/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/