PureBytes Links
Trading Reference Links
|
function CCIx( per )
{
m = MA( Avg, per );
for ( d = n = 0; n < per; d = d + abs( Ref( Avg, - n++ ) - m ) );
return per * ( Avg - m ) / ( 0.015 * d );
}
Plot( CCIx( 20 ), "", colorGreen, styleLine );
Regards,
Johan
--- In amibroker@xxxxxxxxxxxxxxx, "Gerard Carey" <gcfinance@xxxx>
wrote:
> I'd appreciate some help in coding the CCI(20) as I wish to
customise
> the indicator.
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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|