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

RE: Chande's CMO...



PureBytes Links

Trading Reference Links

Thanks to all who took the time to answer....

Much Appreciated!!!


-----Original Message-----
From: Gary Fritz [mailto:fritz@xxxxxxxx]
Sent: Wednesday, November 12, 2003 01:09
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