PureBytes Links
Trading Reference Links
|
Dear all,
could anyone help? Maybe TJ?
Thanks in advance
Hans
--- In amibroker@xxxxxxxxxxxxxxx, "Hans" <hansib@xxxx> wrote:
>
> Hello,
>
> I need some help.
>
> My goal is to have a CCI with variable period so that bars since buy
> or sell that exceeds 10 are the new CCI period.
>
> I have coded this:
>
> p4=10;
>
> bs=BarsSince(Buy OR Sell);
> pp=Max(bs,p4);
> CC=CCI(pp);
>
> Buy=Cover=Cross(Cc,-100);
> Sell=Short=Cross(100,Cc);
>
> **********
> problems are initialization of arrays.
> how can i consider buy/sell before calculation, and at the same time
> to make calculations i need buy/sell.
>
> Thanks for any help.
>
> Hans
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|