PureBytes Links
Trading Reference Links
|
john,
Do you have the CCIClassic function. It might produce a different
result. Just take the CCI indicator and save it as CCI Classic then
rename where it calls the CCI to CCIClassic
CCI(length) to CCIClassic(length)
If you don't have it here is the code:
Inputs: Length(NumericSimple);
Variables: Sum(0),Counter(0),MD(0),Avg(0), MedianPrice(0);
If Length > 0 Then Begin
MedianPrice = (High + Low + Close) / 3;
Avg = Average(MedianPrice , Length);
MD = 0;
for counter = 0 to Length - 1 Begin
MD = MD + AbsValue(MedianPrice[counter] - Avg);
End;
MD = MD / Length;
If MD = 0 Then
CCIClassic = 0
Else
CCIClassic = (MedianPrice - Avg) / (0.015 * MD);
End
Else
CCIClassic = 0;
Best regards,
Jimmy Snowden
mailto:jhsnowden@xxxxxxx
Monday, November 17, 2003, 9:45:08 AM, you wrote:
jD> I have been following at woodies trading room where they use the cci
jD> indicator. 6 and 14 input. How ever my ts 2000 cci does not have the
jD> same pattern as their posted charts. Is there a different cci? why
jD> would mine be different? this has to be simple. would any one know
jD> the answer or would have the indicator they are using? thanks john
Outgoing mail scanned by Norton
|