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

Notification

Icon
Error

Options
Go to last post Go to first unread
tonya030  
#1 Posted : Friday, November 13, 2009 7:35:41 PM(UTC)
tonya030

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/28/2005(UTC)
Posts: 3

[6]I would appreciate if anyone can help me put together an exploration using the CCI and MACD. I am ok doing an expl. for each one and even combining them, but they are not giving me what I really want and God only knows I have tried but when it come to putting it together I am baffled. But anyhow, here is what I would like the exploration to do:

Find stocks where the CCI is below -100 and rising and the MACD is below 0 and increasing positive from previous bar.

Any help immensly appreciated; in the meantime I will go back into the book or find some tutorial stuff on the net.

Tonya030

johnl  
#2 Posted : Saturday, November 14, 2009 7:15:26 PM(UTC)
johnl

Rank: Advanced Member

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


Instead of doing it in a exploration I usually write a formula, then put that in the
exploration.

a1:=If(CCI()<-100),1,0);
a2:=If((CCI()-Ref(CCI(),-1)>0),1,0);
a3:=If((MACD()<0),1,0);
a4:=If((MACD()-Ref(MACD(),-1)>0),1,0);
a4:=a1*a2*a3*a4;
a4

Now plot it and if you like the results, then put it in an exploration, if not, change the
formula to something you like better.
.

tonya030  
#3 Posted : Sunday, November 15, 2009 8:56:46 PM(UTC)
tonya030

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/28/2005(UTC)
Posts: 3

johnl,

Thanks a million. I would have never gotten this; I was not even close. Will try it and let you know how it worked. Again, mucho gracias. Many thanks

tonya030

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.