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


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mrdavis9
Sent: Monday, July 10, 2006 9:52 PM
To: [email protected]
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


    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.
 
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to