PureBytes Links
Trading Reference Links
|
It's a variation on Kaufman's Efficiency Ratio. If you remove the *100
and take the absolute value of the numerator, you get the Efficiency
ratio. So which came first, CMO or ER?
Trey
-----Original Message-----
From: Gary Fritz [mailto:fritz@xxxxxxxx]
Sent: Wednesday, November 12, 2003 1:09 AM
To: omega-list@xxxxxxxxxx
Subject: RE: Chande's CMO...
> I found this , i think its what u r after.
That does work. This produces the same results with a bit
simpler code:
value1 = summation(absvalue(Close-Close[1]), Length);
if value1 <> 0 then
CMO = 100 * summation(Close - Close[1],Length) / value1;
Or, even easier/faster:
value1 = summation(absvalue(Close-Close[1]), Length);
if value1 <> 0 then
CMO = 100 * (Close - Close[Length]) / value1;
Gary
|