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

[amibroker] [ rangeboundCCI = 100 * tanh( CCI(period )) ] Want CCI to range from 0 to 100



PureBytes Links

Trading Reference Links

rangeboundCCI = 100 * tanh( CCI(period )) 

as I was suggesting here many moons ago.
cheers--

--- In amibroker@xxxxxxxxxxxxxxx, "mrdavis9" <mrdavis9@xxx> wrote:
>
> 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.
>