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

Notification

Icon
Error

Options
Go to last post Go to first unread
neocon  
#1 Posted : Sunday, April 25, 2010 9:59:46 AM(UTC)
neocon

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/30/2008(UTC)
Posts: 8

can you help me to create long-short formula for the conditions below.

LONG

close> EMA 21 and 34 and 55

CCI (55) >0

DI Spread (55) >0

SHORT

close < EMA 21 and 34 and 55

CCI (55)<0

DI Spread (55) <0

thank you,

johnl  
#2 Posted : Sunday, April 25, 2010 7:03:19 PM(UTC)
johnl

Rank: Advanced Member

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

For the buy side it would look like:

a1:=C>Mov(C,21,E);
a2:=C>Mov(C,34,E);
a3:=C>Mov(C,55,E);
a4:=CCI(55)>0;
a5:=a1*a2*a3*a4;
a5
Not too sure what {DI Spread (55) >0} is so I left it out.

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.