logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gianfri1966  
#1 Posted : Sunday, April 17, 2011 12:01:26 PM(UTC)
gianfri1966

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/15/2011(UTC)
Posts: 2

does anyone know the code for CCI modified?and the rules entry exit? thanks
johnl  
#2 Posted : Sunday, April 17, 2011 7:14:48 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

There are lots of CCI versions out there. Here are two.


{CCI according to Steve Achelis' TA from A to Zbook, of which an electronic version can be found https://www.metastock.com/free/taaz/cci.html}
step1:=(H+L+C)/3;
step2:=Mov(step1,14,S);
step3:=Ref(step1,-1)-step2 AND
Ref(step1,-2)-step2 AND
Ref(step1,-3)-step2 AND
Ref(step1,-4)-step2 AND
Ref(step1,-5)-step2 AND
Ref(step1,-6)-step2 AND
Ref(step1,-7)-step2 AND
Ref(step1,-8)-step2 AND
Ref(step1,-9)-step2 AND
Ref(step1,-10)-step2 AND
Ref(step1,-11)-step2 AND
Ref(step1,-12)-step2 AND
Ref(step1,-13)-step2 AND
Ref(step1,-14)-step2;
step4:=Mov(Abs(step3),14,S);
step5:=step4*0.015;
step6:=step1-step2;
step7:=step6/step5;
step8:=step7/20;{for the +100, -100 scale}
step8

and

{CCI-STD cs}
{written by Corey Saxe}
V1:=Input("Periods",2,250,14);
x:=Typical();
y:=Mov(x,V1,S);
z:=Sum(Abs(x-LastValue(y+PREV-PREV)),V1)/V1;
A1:=z*0.015;
ZZI:=(x-y)/A1;
ZZI{end}


gianfri1966  
#3 Posted : Monday, April 18, 2011 2:48:31 AM(UTC)
gianfri1966

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/15/2011(UTC)
Posts: 2

thanks. i intend modified with pivot point(equis?): i dont remember so good but i saw it by a friend that used it thanks
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.