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

RE: Cycle Length



PureBytes Links

Trading Reference Links

high+low/2=0?? does that mean that you have found a stock that someone pays
you to take it off your hands?? ;-))

-----Original Message-----
From: Chris Evans [mailto:evanscje@xxxxxxxxxxxxx]
Sent: Wednesday, January 07, 2004 9:45 AM
To: omega-list@xxxxxxxxxx
Subject: Cycle Length


I thought I'd try to use the ehlers cycle length idea to create a varying
term oscillator .. so the idea is to find the number of periods you have to
go back in time until you reach the condition where the sum of the closes or
the sum of (high+low)/2 =0 ..

firstly I figure that + or - 1% will do since it will never sum to exactly=0
.. so I wrote

If Summation(Price, Len) <.01*Price and Summation(Price, Len) >-.01*Price
then
  Cyclelen=len else len=len+1;

which doesn't work   .. clearly I need a loop  .. any ideas?

CJE