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

RE: [amibroker] Want CCI to range from 0 to 100



PureBytes Links

Trading Reference Links

ModdedCCI = ( cci + 100 ) / 2;
 
should do it.
 
d


  _____  

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of mrdavis9
Sent: Monday, July 10, 2006 9:52 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Want CCI to range from 0 to 100


I would like to have a CCI(50) , and also a CCI(100) that ranges from Zero
to 100, in lieu of the typical CCI range of negative 100 to positive 100.
 
This formula balow comes from Investor/RT Tour
 
====================
TP = (HI + LO + CL) / 3 
    TP stands for Typical Price

MATP = MA(TP, n)
    n = CCI Period
    MATP stands for Moving Average (Simple) of Typical Price
  <http://www.linnsoft.com/tour/techind/images/cciCalc.jpg> 
    where n = CCI Period
    MDTP stands for Mean Deviation of Typical Price
 
CCI = (TP - MATP) / (MDTP * 0.015)
=====================================
I bet that Dingo knows how to  change this formula so that  it will
oscillate between zero and 100. 
 
Later Ron D.