SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Technical Analysis- Indicators & Systems

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: CynicalTruth who wrote (1203)5/26/1997 5:15:00 PM
From: CynicalTruth   of 3325
 
To all who like a challenge:

I spent over 5 hours trying to code this in SC EL and all I done is create endless loops which lock up SC and floating point errors that kill SC immediately. If you got the time, are good at translating code and would like this indicator, give it a try....Good luck!!

Jøhn

From the Omega Archives:
_____________________________________________________

I have found that the CMO is actually quite good as a sensitive momentum indicator. Another use, is to look at the crossover with its own 3 day Exponential Moving Average. (Although I have been trained as an engineer, I take no credit for the following code:)

{CMO - Chande Momentum Oscillator}

Inputs: Price(NumericSeries), Len(NumericSimple);
Vars: Su(0),Sd(0),Counter(0);

Su=0;Sd=0;
If CurrentBar>Len then begin
for Counter = 0 to Len-1 begin
Value1=Price[Counter]-Price[Counter+1];
If Value1>0 then Su=Su+Value1
else Sd=Sd+AbsValue(Value1);
end;
end;
Value2=Su+Sd;
if Value2 >0 then CMO=100* (Su-Sd)/Value2
else CMO=0;
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext