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

RE: Chande's CMO...



PureBytes Links

Trading Reference Links

I found this , i think its what u r after.

Cheers
Cameron



INPUT: Multi(1), CMOLen(10), AvgLen(10);
VAR: Cons(0), X(0), CMO(0), UpMomentum(0), DownMomentum(0);

IF Multi=1 THEN
   Cons = 5000 / ( StdDev(Close - Close[1], 30) * BigPointValue)
   ELSE
      Cons = 1;

IF Cons < 1 THEN Cons = 1;

UpMomentum = 0;
DownMomentum = 0;

FOR X= 0 TO CMOLen - 1
   BEGIN
      IF Close[X] > Close[X+1] THEN
         UpMomentum = UpMomentum + Close[X] - Close[X+1]
      ELSE
         DownMomentum = DownMomentum + Close[X] - Close[X+1];
   END;

CMO = 100 * (UpMomentum + DownMomentum) / 	(UpMomentum - DownMomentum);

IF CMO > Average(CMO, AvgLen) THEN
   Buy ("CMO Buy") Cons Contracts Next Bar at Market;

IF CMO < Average(CMO, AvgLen) THEN
   Sell ("CMO Sell") Cons Contracts Next Bar at Market;











-----Original Message-----
From: Nurudin Kaba [mailto:n.kaba@xxxxxxxxxx]
Sent: Tuesday, November 11, 2003 11:02 PM
To: omega-list@xxxxxxxxxx
Subject: Chande's CMO...


does anyone have the easylanguage code for this or knows where i could find
it?

Thanks


---
---