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

[amibroker] Re: Is there a way to get CCI to accept an array for periods?



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "bilbo0211" <bilbod@xxx> wrote:
>
> I have found ways (either from messages in this group or the afl
> library) to do it with most other indicators but not with CCI. 
> 
> I did come up with a formula that recalculates the entire cci array
> with a new period for every new bar but there are 2 problems with
> that, it's slow and the cci that shows is the one last calculated so
> all 'historical' cci changes get lost.
> 
> Does anybody have a solution?
> 
> Bill
>

not sure what u mean
c14=CCI(14);
c13=CCI(13);
c12=CCI(12);
...

It cannot get any faster than that.




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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/